Circuits OK
Accounts Ok Movements OK
This commit is contained in:
@@ -692,8 +692,12 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
async clearDataAfterLogout() {
|
||||
// console.log('clearDataAfterLogout')
|
||||
|
||||
for (const table of ApiTables.allTables()) {
|
||||
await globalroutines('clearalldata', table, null)
|
||||
try {
|
||||
for (const table of ApiTables.allTables()) {
|
||||
await globalroutines('clearalldata', table, null)
|
||||
}
|
||||
}catch (e) {
|
||||
//
|
||||
}
|
||||
|
||||
if (static_data.functionality.PWA) {
|
||||
@@ -1676,7 +1680,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
myserv = window.location.host
|
||||
|
||||
if (process.env.DEBUGGING) {
|
||||
myserv = 'http://192.168.1.103:3000'; // 'http://192.168.1.54:3000'
|
||||
myserv = 'http://localhost:3000'; // 'http://192.168.1.54:3000'
|
||||
}
|
||||
|
||||
if (!myserv) {
|
||||
|
||||
Reference in New Issue
Block a user