mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 10:22: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) =>
|
||||
{
|
||||
resetState();
|
||||
|
||||
NotificationUtilities.simpleAlert(LocalizeText('catalog.alert.published.description'), null, null, null, LocalizeText('catalog.alert.published.title'));
|
||||
}, [ resetState ]);
|
||||
|
||||
const onGiftWrappingConfigurationEvent = useCallback((event: GiftWrappingConfigurationEvent) =>
|
||||
|
@ -55,6 +55,7 @@ export const CatalogView: FC<{}> = props =>
|
||||
setActiveNodes([]);
|
||||
setSearchResult(null);
|
||||
setFrontPageItems([]);
|
||||
setIsVisible(false);
|
||||
});
|
||||
}, []);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user