From f1cff299a30459c0a7d268185646463757ad338b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= Date: Mon, 13 Nov 2023 13:27:46 +0100 Subject: [PATCH] Sync objective contributors on objective lift Synchronize the objective contributor links when an objective is lifted, as the links may be needed to keep the donor as a contributor after the lift. --- src/components/drawers/EditKeyResult.vue | 111 ++--------------------- src/components/drawers/EditObjective.vue | 8 +- src/util/objectiveContributors.js | 98 ++++++++++++++++++++ 3 files changed, 113 insertions(+), 104 deletions(-) create mode 100644 src/util/objectiveContributors.js diff --git a/src/components/drawers/EditKeyResult.vue b/src/components/drawers/EditKeyResult.vue index 877e0b5c9..826cb4cd9 100644 --- a/src/components/drawers/EditKeyResult.vue +++ b/src/components/drawers/EditKeyResult.vue @@ -163,17 +163,14 @@