Skip to content

Commit

Permalink
Merge pull request #150 from Aar-if/twenty
Browse files Browse the repository at this point in the history
Issue #2322 feat: Workspace improvements and Fixes
  • Loading branch information
itsvick authored Dec 12, 2024
2 parents e0ff7ea + 0cf4c2f commit 17c7475
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 17c7475

Please sign in to comment.