Added Notes and Folding
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir 2023-06-19 12:46:33 +02:00
parent 133f019134
commit ec583511b8
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
2 changed files with 4 additions and 1 deletions

View File

@ -226,6 +226,9 @@ const app = new Vue({
toggle_section_vis: function(idx){ toggle_section_vis: function(idx){
this.journey_data.main[idx].hidden = !this.journey_data.main[idx].hidden; this.journey_data.main[idx].hidden = !this.journey_data.main[idx].hidden;
}, },
get_section_vis: function(idx){
return !this.journey_data.main[idx].hidden
}
search_nominatim: function(txt,f){ search_nominatim: function(txt,f){
if(txt==""){ if(txt==""){
this.query.nominatim=[]; this.query.nominatim=[];

View File

@ -47,7 +47,7 @@
<div class="col-auto"><button class="button button--secondary button--mobileFull" v-on:click="toggle_section_vis(idx)">-</button></div> <div class="col-auto"><button class="button button--secondary button--mobileFull" v-on:click="toggle_section_vis(idx)">-</button></div>
<div class="input col-sm-4"><input class="" v-model="item.title" type="text" /></div> <div class="input col-sm-4"><input class="" v-model="item.title" type="text" /></div>
</div> </div>
<div class="row" v-if="!item.hidden"> <div class="row" v-if="section_vis(idx)">
<div class="col-12 col-sm-8"> <div class="col-12 col-sm-8">
<l-map <l-map
:zoom.sync="item.map.zoom" :zoom.sync="item.map.zoom"