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)')