Added Notes and Folding
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
133f019134
commit
ec583511b8
@ -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=[];
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user