From 46e34edf55fe5a3f593a63afee0ba8ab7bbeade9 Mon Sep 17 00:00:00 2001 From: "Petter H. Juliussen" Date: Mon, 13 Nov 2023 14:20:21 +0100 Subject: [PATCH] Disable key result owner select on archive --- src/components/drawers/EditKeyResult.vue | 13 ++++++------- src/locale/locales/nb-NO.json | 2 +- src/styles/_vSelect.scss | 19 +++++++++++++++++++ 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/components/drawers/EditKeyResult.vue b/src/components/drawers/EditKeyResult.vue index 877e0b5c9..64121e89e 100644 --- a/src/components/drawers/EditKeyResult.vue +++ b/src/components/drawers/EditKeyResult.vue @@ -40,6 +40,7 @@ v-model="contributor" name="owner" input-type="select" + :disabled="thisKeyResult?.archived" :select-options="ownerOptions" :label="$t('fields.owner')" rules="required" @@ -89,28 +90,25 @@ -