Usunięto powiadomienie o migracji

This commit is contained in:
2022-06-02 00:49:37 +02:00
parent 276262f794
commit b41e8fc4c2
-14
View File
@@ -59,13 +59,6 @@
</header>
<main class="app_main">
<div class="warning" v-if="!warningConfirmed">
{{ $t('app.migration-warning') }}
<button @click="confirmWarning" class="btn btn--text" style="text-decoration: underline">
{{ $t('app.migration-confirm') }}
</button>
</div>
<router-view v-slot="{ Component }">
<!-- <transition name="view-anim" mode="out-in"> -->
<keep-alive>
@@ -139,7 +132,6 @@ export default defineComponent({
VERSION: packageInfo.version,
updateModalVisible: false,
hasReleaseNotes: false,
warningConfirmed: false,
currentLang: 'pl',
@@ -156,7 +148,6 @@ export default defineComponent({
created() {
this.loadLang();
this.warningConfirmed = StorageManager.getBooleanValue('warning-confirmed') || false;
},
async mounted() {
@@ -172,11 +163,6 @@ export default defineComponent({
},
methods: {
confirmWarning() {
this.warningConfirmed = true;
StorageManager.setBooleanValue('warning-confirmed', true);
},
toggleUpdateModal() {
this.updateModalVisible = !this.updateModalVisible;
StorageManager.setBooleanValue('version_notes_read', true);