From 30ded70f7bf9c19c4bb1158c7a0c3dadf12476be Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat Date: Mon, 9 Oct 2023 11:39:22 +0200 Subject: [PATCH] Fixed checklist boxes getting bulletpoints [SCI-9487] --- .../vue/shared/content/checklistItem.vue | 2 +- app/javascript/vue/shared/inline_edit.vue | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/app/javascript/vue/shared/content/checklistItem.vue b/app/javascript/vue/shared/content/checklistItem.vue index cb5ff5f68..43dbfbbf4 100644 --- a/app/javascript/vue/shared/content/checklistItem.vue +++ b/app/javascript/vue/shared/content/checklistItem.vue @@ -17,7 +17,7 @@ -
+
- + {{newValue || placeholder}}
@@ -79,7 +79,6 @@ editing: false, dirty: false, newValue: '', - viewMode: null } }, mixins: [UtilsMixin], @@ -91,13 +90,6 @@ if (this.editOnload) { this.enableEdit(); } - - // determine whether view mode is in projects(active) or templates(inactive) - const urlSearchParam = window.location?.search - if (!urlSearchParam) return - if (urlSearchParam.includes('view_mode=active')) { - this.viewMode = 'active' - } }, watch: { editing() { @@ -111,7 +103,7 @@ }, autofocus() { this.handleAutofocus(); - } + }, }, computed: { isBlank() {