From cda184740e98befe144681563b5d521a47ebcace Mon Sep 17 00:00:00 2001 From: Jose Buitron Date: Mon, 2 Dec 2024 12:27:42 -0500 Subject: [PATCH] fix: Remove see published when new story map --- .../components/StoryMapForm/TopBar.js | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/storyMap/components/StoryMapForm/TopBar.js b/src/storyMap/components/StoryMapForm/TopBar.js index 460f10381..f6651b704 100644 --- a/src/storyMap/components/StoryMapForm/TopBar.js +++ b/src/storyMap/components/StoryMapForm/TopBar.js @@ -127,15 +127,19 @@ const ActionsMenu = () => { {t('storyMap.form_preview_button')} - - {t('storyMap.form_view_published_button')} - - + {storyMap && ( + <> + + {t('storyMap.form_view_published_button')} + + + + )} {storyMap && ( setOpenShareDialog(true)}> {t('storyMap.form_share_button')}