mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 22:06:29 +02:00
Fix auth with jwt and localDb only in dev
This commit is contained in:
@@ -219,7 +219,7 @@ export class Sheet<
|
||||
async dbFirstLoad(): Promise<void> {
|
||||
if (!(await hasGSheetsAccess())) {
|
||||
await this.loadLocalDb()
|
||||
} else if (this.toRunAfterLoad && __DEV__) {
|
||||
} else if (this.toRunAfterLoad) {
|
||||
// Save once
|
||||
this.toRunAfterLoad.push(() => this.saveLocalDb())
|
||||
}
|
||||
|
Reference in New Issue
Block a user