mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Usunięto powiadomienie o migracji
This commit is contained in:
-14
@@ -59,13 +59,6 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main class="app_main">
|
<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 }">
|
<router-view v-slot="{ Component }">
|
||||||
<!-- <transition name="view-anim" mode="out-in"> -->
|
<!-- <transition name="view-anim" mode="out-in"> -->
|
||||||
<keep-alive>
|
<keep-alive>
|
||||||
@@ -139,7 +132,6 @@ export default defineComponent({
|
|||||||
VERSION: packageInfo.version,
|
VERSION: packageInfo.version,
|
||||||
updateModalVisible: false,
|
updateModalVisible: false,
|
||||||
hasReleaseNotes: false,
|
hasReleaseNotes: false,
|
||||||
warningConfirmed: false,
|
|
||||||
|
|
||||||
currentLang: 'pl',
|
currentLang: 'pl',
|
||||||
|
|
||||||
@@ -156,7 +148,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.loadLang();
|
this.loadLang();
|
||||||
this.warningConfirmed = StorageManager.getBooleanValue('warning-confirmed') || false;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
async mounted() {
|
async mounted() {
|
||||||
@@ -172,11 +163,6 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
confirmWarning() {
|
|
||||||
this.warningConfirmed = true;
|
|
||||||
StorageManager.setBooleanValue('warning-confirmed', true);
|
|
||||||
},
|
|
||||||
|
|
||||||
toggleUpdateModal() {
|
toggleUpdateModal() {
|
||||||
this.updateModalVisible = !this.updateModalVisible;
|
this.updateModalVisible = !this.updateModalVisible;
|
||||||
StorageManager.setBooleanValue('version_notes_read', true);
|
StorageManager.setBooleanValue('version_notes_read', true);
|
||||||
|
|||||||
Reference in New Issue
Block a user