Fix dialog windows rendering
This commit is contained in:
parent
2073f6ad21
commit
b3720a6361
4 changed files with 38 additions and 10 deletions
|
@ -383,9 +383,13 @@ export const CategoryDetails: React.StatelessComponent<
|
|||
}?"
|
||||
id="categoryDetailsDeleteCategoriesDialogContent"
|
||||
values={{
|
||||
counter: params.ids.length,
|
||||
counter: maybe(
|
||||
() => params.ids.length
|
||||
),
|
||||
displayQuantity: (
|
||||
<strong>{params.ids.length}</strong>
|
||||
<strong>
|
||||
{maybe(() => params.ids.length)}
|
||||
</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
|
@ -425,9 +429,13 @@ export const CategoryDetails: React.StatelessComponent<
|
|||
}?"
|
||||
id="categoryDetailsDeleteProductsDialogContent"
|
||||
values={{
|
||||
counter: params.ids.length,
|
||||
counter: maybe(
|
||||
() => params.ids.length
|
||||
),
|
||||
displayQuantity: (
|
||||
<strong>{params.ids.length}</strong>
|
||||
<strong>
|
||||
{maybe(() => params.ids.length)}
|
||||
</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
|
|
|
@ -140,8 +140,10 @@ export const CategoryList: React.StatelessComponent<CategoryListProps> = ({
|
|||
}?"
|
||||
id="categoryListDeleteCategoriesDialogContent"
|
||||
values={{
|
||||
counter: params.ids.length,
|
||||
displayQuantity: <strong>{params.ids.length}</strong>
|
||||
counter: maybe(() => params.ids.length),
|
||||
displayQuantity: (
|
||||
<strong>{maybe(() => params.ids.length)}</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
<DialogContentText>
|
||||
|
|
|
@ -361,7 +361,10 @@ export const CollectionDetails: React.StatelessComponent<
|
|||
}?"
|
||||
id="collectionDetailsUnassignProductsDialogContent"
|
||||
values={{
|
||||
number: <strong>{params.ids.length}</strong>
|
||||
counter: maybe(() => params.ids.length),
|
||||
displayQuantity: (
|
||||
<strong>{maybe(() => params.ids.length)}</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
</DialogContentText>
|
||||
|
|
|
@ -208,7 +208,12 @@ export const CollectionList: React.StatelessComponent<CollectionListProps> = ({
|
|||
}?"
|
||||
id="collectionListPublishCollectionsDialogContent"
|
||||
values={{
|
||||
number: params.ids.length
|
||||
counter: maybe(() => params.ids.length),
|
||||
displayQuantity: (
|
||||
<strong>
|
||||
{maybe(() => params.ids.length)}
|
||||
</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
</DialogContentText>
|
||||
|
@ -243,7 +248,12 @@ export const CollectionList: React.StatelessComponent<CollectionListProps> = ({
|
|||
}?"
|
||||
id="collectionListUnpublishCollectionsDialogContent"
|
||||
values={{
|
||||
number: params.ids.length
|
||||
counter: maybe(() => params.ids.length),
|
||||
displayQuantity: (
|
||||
<strong>
|
||||
{maybe(() => params.ids.length)}
|
||||
</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
</DialogContentText>
|
||||
|
@ -277,7 +287,12 @@ export const CollectionList: React.StatelessComponent<CollectionListProps> = ({
|
|||
}?"
|
||||
id="collectionListDeleteCollectionsDialogContent"
|
||||
values={{
|
||||
number: params.ids.length
|
||||
counter: maybe(() => params.ids.length),
|
||||
displayQuantity: (
|
||||
<strong>
|
||||
{maybe(() => params.ids.length)}
|
||||
</strong>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
</DialogContentText>
|
||||
|
|
Loading…
Reference in a new issue