From cf3cb8d63f278f79ad9d812538bfb7849cb93c12 Mon Sep 17 00:00:00 2001 From: soraefir Date: Thu, 13 Jul 2023 19:06:56 +0200 Subject: [PATCH] Fixing style --- template/module/journey_sec.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/module/journey_sec.pug b/template/module/journey_sec.pug index b393ad3..ab6ced6 100644 --- a/template/module/journey_sec.pug +++ b/template/module/journey_sec.pug @@ -1,5 +1,5 @@ draggable(tag='div' :list='journey_data.main' class='list-group bg-dark' handle='.handle') - div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :class='{ bg-primary: (journey_step_data.section==idx) }') + div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :class='(journey_step_data.section==idx)?"bg-primary":""') div.text {{element.title}} i.fa.fa-times.close.fright(style='top:2px;right:2px;position:absolute;' @click='rm_section(idx)')