Commit 3a78e313 authored by Johannes Winter's avatar Johannes Winter 💫

fix #136

Merge branch 'develop'
parents ec99fd3a 99eebdb8
Pipeline #152 passed with stages
in 4 minutes and 22 seconds
......@@ -428,7 +428,10 @@ export default {
if (this.$store.state.ro) {
this.loadExampleBudgets().then(
(folder) => {
let url = encodeURI(this.url) || folder[folder.length-1].uri.value
let url = this.url == undefined ?
folder[folder.length-1].uri.value :
encodeURI(this.url)
// console.log(`loading budget from ${encodeURI(this.url)} OR ${folder[folder.length-1].uri.value}`);
this.loadBudgetFrom(url)
}, (err) =>
console.log(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment