diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-01 19:15:28 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-01 19:15:28 +0300 |
| commit | d30b0b28c9371e56ffe54b5a8b56087718221c1d (patch) | |
| tree | 2ef028c630edb52a2377e8a5ab6ee6492543afec /src/App.vue | |
| parent | beb160bd537abcb7f2e147c7954886d2f51d385f (diff) | |
catch localforage error and let the application work, add an alert for user to dismiss
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue index 7b9ad3dc..23991eac 100644 --- a/src/App.vue +++ b/src/App.vue @@ -102,6 +102,16 @@ </div> <div class="main"> <div + v-if="showStorageError" + class="alert error storage-error-notice" + > + {{ $t("errors.storage_unavailable") }} + <i + class="icon-cancel" + @click="hideStorageError" + /> + </div> + <div v-if="!currentUser" class="login-hint panel panel-default" > |
