diff --git a/src/components/editor/creative/drafts/EditorPagesDrafts.vue b/src/components/editor/creative/drafts/EditorPagesDrafts.vue index 2998f00f5..7dbef204e 100644 --- a/src/components/editor/creative/drafts/EditorPagesDrafts.vue +++ b/src/components/editor/creative/drafts/EditorPagesDrafts.vue @@ -22,14 +22,14 @@ > {{ t('editor.drafts.chapters') }} - + diff --git a/src/store/project.ts b/src/store/project.ts index bde5a2b85..ce8edd0cb 100644 --- a/src/store/project.ts +++ b/src/store/project.ts @@ -107,6 +107,9 @@ export const useProjectStore = defineStore('project', { const index = this.pages.indexOf(content) + this.creative.drafts = this.creative.drafts.filter( + (draft) => draft.id !== content.id + ) this.pages.splice(index, 1) }, updatePage(page: ContextState) {