From 4776e3d8277e2a5737d6b56bd8f4a8ca532df0d7 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 24 Mar 2022 13:21:04 -0400 Subject: [PATCH] Fix catalog published --- src/components/catalog/CatalogMessageHandler.tsx | 2 ++ src/components/catalog/CatalogView.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/catalog/CatalogMessageHandler.tsx b/src/components/catalog/CatalogMessageHandler.tsx index 43659dea..41ed317a 100644 --- a/src/components/catalog/CatalogMessageHandler.tsx +++ b/src/components/catalog/CatalogMessageHandler.tsx @@ -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) => diff --git a/src/components/catalog/CatalogView.tsx b/src/components/catalog/CatalogView.tsx index 76a89027..d54e9b15 100644 --- a/src/components/catalog/CatalogView.tsx +++ b/src/components/catalog/CatalogView.tsx @@ -55,6 +55,7 @@ export const CatalogView: FC<{}> = props => setActiveNodes([]); setSearchResult(null); setFrontPageItems([]); + setIsVisible(false); }); }, []);