From 9f07bd8f46ce325ac422e2562eb7be603f2910c5 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 14 May 2022 14:34:07 +0200 Subject: [PATCH] refactor(client): refactor admin/announcements to use Composition API (#8650) --- .../client/src/pages/admin/announcements.vue | 148 ++++++++---------- 1 file changed, 67 insertions(+), 81 deletions(-) diff --git a/packages/client/src/pages/admin/announcements.vue b/packages/client/src/pages/admin/announcements.vue index a0d720bb29..97774975de 100644 --- a/packages/client/src/pages/admin/announcements.vue +++ b/packages/client/src/pages/admin/announcements.vue @@ -3,112 +3,98 @@
- + - + - + -

{{ $t('nUsersRead', { n: announcement.reads }) }}

+

{{ i18n.t('nUsersRead', { n: announcement.reads }) }}

- {{ $ts.save }} - {{ $ts.remove }} + {{ i18n.ts.save }} + {{ i18n.ts.remove }}
-