accountsストアはindexedDBで保持するように

This commit is contained in:
tamaina
2021-07-19 15:50:06 +09:00
parent f1c9e596e8
commit 5926a4098b
4 changed files with 95 additions and 14 deletions

View File

@@ -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 } from 'vue';