Skip to content

Commit

Permalink
Issue #2322 feat: Workspace improvements and Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Arif-tekdi-technologies committed Dec 12, 2024
1 parent c8998e4 commit 0cf4c2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CollectionEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/QuestionSetEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0cf4c2f

Please sign in to comment.