Use Dexie instead of Pinia store values in tileList inside mapEditor
This commit is contained in:
@ -68,6 +68,10 @@ export class BaseStorage<T extends { id: string }> {
|
||||
}
|
||||
}
|
||||
|
||||
liveQuery() {
|
||||
return this.dexie.table(this.tableName).toArray()
|
||||
}
|
||||
|
||||
async reset() {
|
||||
try {
|
||||
await this.dexie.table(this.tableName).clear()
|
||||
|
Reference in New Issue
Block a user