refactor: localStorageのaccountsはindexedDBで保持するように (#7609)
* accountsストアはindexedDBで保持するように
* fix lint
* fix indexeddb available detection
* remove debugging code
* fix lint
* resolve ba756204b7 (diff-f565878e8202f0037b830c780b7c0932dc1bb5fd3d05ede14d72d10efbc3740c)
Firefoxでの動作を改善
* fix lint
* fix lint
* add changelog
This commit is contained in:
@@ -4,6 +4,15 @@
|
||||
|
||||
import '@client/style.scss';
|
||||
|
||||
//#region account indexedDB migration
|
||||
import { set } from '@client/scripts/idb-proxy';
|
||||
|
||||
if (localStorage.getItem('accounts') != null) {
|
||||
set('accounts', JSON.parse(localStorage.getItem('accounts')));
|
||||
localStorage.removeItem('accounts');
|
||||
}
|
||||
//#endregion
|
||||
|
||||
import * as Sentry from '@sentry/browser';
|
||||
import { Integrations } from '@sentry/tracing';
|
||||
import { computed, createApp, watch, markRaw } from 'vue';
|
||||
|
Reference in New Issue
Block a user