Fix catalog published

This commit is contained in:
Bill 2022-03-24 13:21:04 -04:00
parent 44ea153bcf
commit 4776e3d827
2 changed files with 3 additions and 0 deletions

View File

@ -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) =>

View File

@ -55,6 +55,7 @@ export const CatalogView: FC<{}> = props =>
setActiveNodes([]); setActiveNodes([]);
setSearchResult(null); setSearchResult(null);
setFrontPageItems([]); setFrontPageItems([]);
setIsVisible(false);
}); });
}, []); }, []);