mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 18:32:36 +01:00
Fix catalog published
This commit is contained in:
parent
44ea153bcf
commit
4776e3d827
@ -254,6 +254,8 @@ export const CatalogMessageHandler: FC<{}> = props =>
|
|||||||
const onCatalogPublishedMessageEvent = useCallback((event: CatalogPublishedMessageEvent) =>
|
const onCatalogPublishedMessageEvent = useCallback((event: CatalogPublishedMessageEvent) =>
|
||||||
{
|
{
|
||||||
resetState();
|
resetState();
|
||||||
|
|
||||||
|
NotificationUtilities.simpleAlert(LocalizeText('catalog.alert.published.description'), null, null, null, LocalizeText('catalog.alert.published.title'));
|
||||||
}, [ resetState ]);
|
}, [ resetState ]);
|
||||||
|
|
||||||
const onGiftWrappingConfigurationEvent = useCallback((event: GiftWrappingConfigurationEvent) =>
|
const onGiftWrappingConfigurationEvent = useCallback((event: GiftWrappingConfigurationEvent) =>
|
||||||
|
@ -55,6 +55,7 @@ export const CatalogView: FC<{}> = props =>
|
|||||||
setActiveNodes([]);
|
setActiveNodes([]);
|
||||||
setSearchResult(null);
|
setSearchResult(null);
|
||||||
setFrontPageItems([]);
|
setFrontPageItems([]);
|
||||||
|
setIsVisible(false);
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user