From 5de77405ea8a4d325eb036134880ba1272be26de Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 14 May 2022 14:34:50 +0200 Subject: [PATCH] Refactor admin/security to use Composition API (#8652) * refactor(client): refactor admin/security to use Composition API * Apply review suggestions from @Johann150 Co-authored-by: Johann150 Co-authored-by: Johann150 --- .../client/src/pages/admin/bot-protection.vue | 89 +++++++------------ packages/client/src/pages/admin/security.vue | 71 ++++++--------- 2 files changed, 59 insertions(+), 101 deletions(-) diff --git a/packages/client/src/pages/admin/bot-protection.vue b/packages/client/src/pages/admin/bot-protection.vue index 5e0cdd96a5..4675b2bc08 100644 --- a/packages/client/src/pages/admin/bot-protection.vue +++ b/packages/client/src/pages/admin/bot-protection.vue @@ -43,8 +43,8 @@ - diff --git a/packages/client/src/pages/admin/security.vue b/packages/client/src/pages/admin/security.vue index d1c979b3e0..6b8f70cca5 100644 --- a/packages/client/src/pages/admin/security.vue +++ b/packages/client/src/pages/admin/security.vue @@ -4,10 +4,10 @@
- + - + @@ -21,7 +21,7 @@ - {{ $ts.save }} + {{ i18n.ts.save }}
@@ -29,8 +29,8 @@ -