From d662338f6a8aed337685dcc861e030e622803a1f Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 13 Oct 2022 09:52:25 +0200 Subject: [PATCH] feat: Daily Rule for Contribution Links in Admin Interface --- admin/src/components/ContributionLink.spec.js | 1 + admin/src/components/ContributionLinkForm.vue | 76 +++++++++---------- .../components/ContributionLinkList.spec.js | 1 + admin/src/components/ContributionLinkList.vue | 24 +++++- admin/src/locales/de.json | 7 +- admin/src/locales/en.json | 7 +- admin/src/pages/Overview.spec.js | 1 + 7 files changed, 62 insertions(+), 55 deletions(-) diff --git a/admin/src/components/ContributionLink.spec.js b/admin/src/components/ContributionLink.spec.js index f1b9cfb97..9818e8b93 100644 --- a/admin/src/components/ContributionLink.spec.js +++ b/admin/src/components/ContributionLink.spec.js @@ -5,6 +5,7 @@ const localVue = global.localVue const mocks = { $t: jest.fn((t) => t), + $d: jest.fn((d) => d), } const propsData = { diff --git a/admin/src/components/ContributionLinkForm.vue b/admin/src/components/ContributionLinkForm.vue index 6daf1e299..48cd98f9b 100644 --- a/admin/src/components/ContributionLinkForm.vue +++ b/admin/src/components/ContributionLinkForm.vue @@ -1,8 +1,5 @@