call getDB

This commit is contained in:
ed barz 2022-05-15 00:52:09 +02:00
parent 9d7529b1c5
commit b40f8d3ebb
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -109,7 +109,7 @@ let vm = new Vue({
langElms[i].style.display = 'revert';
}
},
async getName(){
async getJDB(){
const res = await fetch(dburl);
const data = await res.json();
this.db = data;
@ -124,6 +124,7 @@ let vm = new Vue({
},
mounted: function() {
console.log("mounting");
this.getJDB();
this.setlang('fr');
console.log("mounted");
}