diff --git a/apps/showcase/components/layout/AppDesigner.vue b/apps/showcase/components/layout/AppDesigner.vue index 26a1124c02..92d69d05fb 100644 --- a/apps/showcase/components/layout/AppDesigner.vue +++ b/apps/showcase/components/layout/AppDesigner.vue @@ -99,7 +99,7 @@ export default { }, async saveTheme(theme) { const { error } = await $fetch(this.designerApiBase + '/theme/update', { - method: 'POST', + method: 'PATCH', headers: { Authorization: `Bearer ${this.$appState.designer.ticket}`, 'X-License-Key': this.$appState.designer.licenseKey diff --git a/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue b/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue index adc788d015..95ce06d87f 100644 --- a/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue +++ b/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue @@ -31,6 +31,7 @@ export default { }, apply() { this.designerService.applyTheme(this.$appState.designer.theme); + this.$toast.add({ severity: 'success', summary: 'Success', detail: 'Theme saved', life: 3000 }); } } };