mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Usunięto powiadomienie o migracji
This commit is contained in:
-14
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user