From 63eb47f8556abb35c3884a3c4a4ac005cd9f8475 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Mon, 24 Feb 2025 15:15:49 +0100 Subject: [PATCH] Update template/module/journey_sec.pug --- template/module/journey_sec.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/template/module/journey_sec.pug b/template/module/journey_sec.pug index 4b5640e..5b8fd78 100644 --- a/template/module/journey_sec.pug +++ b/template/module/journey_sec.pug @@ -1,20 +1,20 @@ draggable.list-group.bg-dark( tag="div", - :list="journey_data.main", + :list="journey.data.main", handle=".handle" ) .list-group-item.handle( - v-for="(element, idx) in journey_data.main", + v-for="(element, idx) in journey.data.main", :key="idx", - @click="sel_section(idx)", - :class="journey_step_data.section == idx ? 'bg-primary' : 'bg-white'" + @click="journey.leg_sel(idx)", + :class="journey.sel_leg == idx ? 'bg-primary' : 'bg-white'" ) .text {{ element.title }} i.fa.fa-times.close.fright( style="top: 2px; right: 2px; position: absolute", - @click="rm_section(idx)" + @click="journey.rm_leg(idx)" ) - .list-group-item.bg-white(@click="add_section()") + .list-group-item.bg-white(@click="journey.add_leg()") .text Add Section i.fa.fa-plus.add(style="top: 12px; right: 5px; position: absolute")