From dbd3e1a8e378c67eaae1c5295eb7c415efd8269f Mon Sep 17 00:00:00 2001 From: Michael Wedl Date: Thu, 14 Dec 2023 09:53:23 +0100 Subject: [PATCH 1/3] Hide private designs if disabled on instance --- .../components/Design/CreateDesignDialog.vue | 33 ++++--- .../components/Design/ImportDesignDialog.vue | 96 ++++--------------- frontend/src/pages/designs/index.vue | 7 +- frontend/src/pages/designs/private.vue | 7 +- 4 files changed, 45 insertions(+), 98 deletions(-) diff --git a/frontend/src/components/Design/CreateDesignDialog.vue b/frontend/src/components/Design/CreateDesignDialog.vue index 1933cab6f..f49bb4fb6 100644 --- a/frontend/src/components/Design/CreateDesignDialog.vue +++ b/frontend/src/components/Design/CreateDesignDialog.vue @@ -18,12 +18,6 @@ :required="false" autofocus /> - @@ -52,23 +46,28 @@ diff --git a/frontend/src/pages/designs/private.vue b/frontend/src/pages/designs/private.vue index 5dbf4c40d..78bbd1810 100644 --- a/frontend/src/pages/designs/private.vue +++ b/frontend/src/pages/designs/private.vue @@ -3,10 +3,10 @@ -