other components... (2)

This commit is contained in:
Paolo Arena
2021-09-16 21:08:02 +02:00
parent fcc4f61f07
commit f351673917
276 changed files with 17183 additions and 3371 deletions

View File

@@ -100,10 +100,15 @@ let idbKeyval = (() => {
},
async set(key, value) {
let req;
await withStore('readwrite', 'keyval', store => {
/*await withStore('readwrite', 'keyval', store => {
req = store.put(value, key);
});
return req.result;
*/
if (req)
return req.result;
else
return null
},
async setdata(table, value) {
let req;