From cffa5dc97ddf20ac757b500fae58373008f6c165 Mon Sep 17 00:00:00 2001 From: Naomi Calabretta Date: Mon, 5 Aug 2024 15:01:10 +0200 Subject: [PATCH] fix a bug with colors --- src/modals/MemberEdit.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/modals/MemberEdit.vue b/src/modals/MemberEdit.vue index 13b1221..97cd46b 100644 --- a/src/modals/MemberEdit.vue +++ b/src/modals/MemberEdit.vue @@ -129,6 +129,12 @@ isEditing.value = !member.value.uuid; // set color + updateColor(); + } + + function updateColor(){ + if(!member.value) return; + if(member.value.color && member.value.color !== "#000000"){ addMaterialColors(member.value.color, self.value.$el); } else { @@ -202,7 +208,7 @@ - + {{ $t("members:edit.color") }}