- fix immediate only if you need to change something very quickly... otherwise it not need. - fix: modified become FALSE when is sent, otherwise infinite loop...
8 lines
262 B
JavaScript
8 lines
262 B
JavaScript
import indexdb from './indexdb'
|
|
|
|
export default async (context, cmd, table, data = null, id = '') => {
|
|
const descr = data !== null ? data.descr : ''
|
|
console.log('globalroutines', cmd, table, descr, id)
|
|
return await indexdb(context, cmd, table, data, id)
|
|
}
|