- Service Worker

- Indexdb
This commit is contained in:
Paolo Arena
2019-02-02 20:13:06 +01:00
parent 484439efe0
commit 3c6b2c7bef
41 changed files with 762 additions and 755 deletions

View File

@@ -80,7 +80,7 @@ export default class Category extends Vue {
}
async loadCat() {
await this.$db.categories.toArray().then(ris => this.categories_loc = ris)
// await this.$db.categories.toArray().then(ris => this.categories_loc = ris)
this.updatetable()
}

View File

@@ -100,7 +100,7 @@ export default class Tabledata extends Vue {
objcat.descr_it = this.category
// Add to Indexdb
await this.$db.categories.add(objcat
await this.$db.categories.put(objcat
).then(ris => {
myid = ris
})