From 0cf4c2ff9fdbf88a470d8bb5c3999b52f6f18e41 Mon Sep 17 00:00:00 2001 From: Arif-tekdi-technologies Date: Thu, 12 Dec 2024 16:07:58 +0530 Subject: [PATCH] Issue #2322 feat: Workspace improvements and Fixes --- src/components/CollectionEditor.tsx | 1 + src/components/QuestionSetEditor.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/CollectionEditor.tsx b/src/components/CollectionEditor.tsx index 961b08f..00fb512 100644 --- a/src/components/CollectionEditor.tsx +++ b/src/components/CollectionEditor.tsx @@ -247,6 +247,7 @@ const CollectionEditor: React.FC = () => { event.detail?.action === "publishContent" || event.detail?.action === "rejectContent" ) { + localStorage.removeItem("contentMode"); window.history.back(); window.addEventListener( "popstate", diff --git a/src/components/QuestionSetEditor.tsx b/src/components/QuestionSetEditor.tsx index e9a8a63..f05a9b9 100644 --- a/src/components/QuestionSetEditor.tsx +++ b/src/components/QuestionSetEditor.tsx @@ -197,6 +197,7 @@ const QuestionSetEditor: React.FC = () => { event.detail?.action === "publishContent" || event.detail?.action === "rejectContent" ) { + localStorage.removeItem("contentMode"); window.history.back(); window.addEventListener( "popstate",