From 3dd95198119dd4b41d597e76ca67c61e9e0a4552 Mon Sep 17 00:00:00 2001 From: HelgeKeck Date: Mon, 5 Aug 2024 03:11:36 +0200 Subject: [PATCH] conditional rules for add and edit macro category --- .../settings/macros/MacroCategoryDialog.vue | 16 +++++----------- .../settings/macros/MacroSettings.vue | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/components/settings/macros/MacroCategoryDialog.vue b/src/components/settings/macros/MacroCategoryDialog.vue index 4a69b10d42..04681981a4 100644 --- a/src/components/settings/macros/MacroCategoryDialog.vue +++ b/src/components/settings/macros/MacroCategoryDialog.vue @@ -14,10 +14,7 @@ dense filled hide-details - :rules="[ - $rules.required, - // customRules.uniqueName - ]" + :rules="rules" required /> @@ -59,8 +56,8 @@