- Service Worker
- Indexdb
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user