catch localforage error and let the application work, add an alert for user to dismiss

This commit is contained in:
Shpuld Shpuldson 2020-07-01 19:15:28 +03:00
parent beb160bd53
commit d30b0b28c9
7 changed files with 47 additions and 3 deletions

View file

@ -101,6 +101,16 @@
</div>
</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"