diff --git a/apps/showcase/components/layout/designer/dashboard/DesignDashboard.vue b/apps/showcase/components/layout/designer/dashboard/DesignDashboard.vue index 8907bf2e4..660f1f657 100644 --- a/apps/showcase/components/layout/designer/dashboard/DesignDashboard.vue +++ b/apps/showcase/components/layout/designer/dashboard/DesignDashboard.vue @@ -11,14 +11,19 @@
My Themes - {{ $appState.designer.themes?.length }} / {{ $appState.designer.themeLimit }} +
+ {{ $appState.designer.themes.length }} / {{ $appState.designer.themeLimit }} +
+
+
+
Continue editing your existing themes or build a new one. -
+
@@ -270,8 +271,10 @@ export default { }, computed: { themeLimitReached() { - if (this.$appState.designer.themeLimit > 0 && this.$appState.designer.themes?.length) return this.$appState.designer.themeLimit === this.$appState.designer.themes.length; - else return false; + return this.$appState.designer.themeLimit ? this.$appState.designer.themeLimit === this.$appState.designer.themes.length : false; + }, + themeUsageRatio() { + return this.$appState.designer.themeLimit ? 100 * (this.$appState.designer.themes.length / this.$appState.designer.themeLimit) : 0; } } }; diff --git a/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue b/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue index de1c800a5..7500b04b9 100644 --- a/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue +++ b/apps/showcase/components/layout/designer/editor/DesignEditorFooter.vue @@ -1,5 +1,5 @@