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:
@ -122,6 +122,8 @@ const app = new Vue({
|
||||
},
|
||||
monthBeforeYear: true,
|
||||
},
|
||||
|
||||
visible_step: 0,
|
||||
},
|
||||
methods: {
|
||||
start_journey: function(event){
|
||||
@ -224,7 +226,7 @@ const app = new Vue({
|
||||
this.journey_data.main.splice(idx,1);
|
||||
},
|
||||
toggle_section_vis: function(idx){
|
||||
this.journey_data.visible = idx;
|
||||
this.visible_step ^= 0x1 << (idx+1);
|
||||
},
|
||||
search_nominatim: function(txt,f){
|
||||
if(txt==""){
|
||||
@ -271,8 +273,6 @@ const app = new Vue({
|
||||
},
|
||||
import_data:function(){
|
||||
this.journey_data = Object.assign({}, JSON.parse(toDecoded(this.impexp)));
|
||||
|
||||
this.journey_data.visible = this.journey_data.visible || -1;
|
||||
},
|
||||
export_data:function(){
|
||||
this.impexp = toEncoded(JSON.stringify(this.journey_data));
|
||||
|
Reference in New Issue
Block a user