2022-06-15 00:08:45 +00:00
|
|
|
<template>
|
2022-08-07 05:18:10 +00:00
|
|
|
<div style="padding: 2em;">
|
|
|
|
|
|
|
|
|
|
|
|
<v-icon x-large color="primary" style="padding-bottom: 0.25em;">mdi-cellphone-arrow-down</v-icon>
|
|
|
|
<h1>{{ lang.updated }}</h1>
|
|
|
|
<p>{{ oldVer }} <v-icon>mdi-arrow-right</v-icon> {{ newVer }}</p>
|
|
|
|
<div class="bottom">
|
|
|
|
<v-btn rounded color="primary" @click="$router.go(-1)">{{ lang.awesome }}</v-btn>
|
|
|
|
</div>
|
|
|
|
|
2022-06-18 12:36:14 +00:00
|
|
|
|
2022-06-22 05:24:06 +00:00
|
|
|
</div>
|
2022-06-15 00:08:45 +00:00
|
|
|
</template>
|
|
|
|
|
2022-06-18 12:36:14 +00:00
|
|
|
<style scoped>
|
2022-08-07 05:18:10 +00:00
|
|
|
.bottom {
|
2022-06-22 05:24:06 +00:00
|
|
|
position: absolute;
|
2022-08-07 05:18:10 +00:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 2em;
|
2022-06-18 12:36:14 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2022-06-15 00:08:45 +00:00
|
|
|
<script>
|
2022-06-22 05:24:06 +00:00
|
|
|
import language from "~/components/Settings/language.vue";
|
|
|
|
export default {
|
|
|
|
layout: "empty",
|
|
|
|
components: {
|
|
|
|
language,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
lang: {},
|
|
|
|
newVer: "...",
|
|
|
|
oldVer: "...",
|
|
|
|
};
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
this.lang = this.$lang("events");
|
2022-06-20 13:53:06 +00:00
|
|
|
|
2022-06-22 05:24:06 +00:00
|
|
|
this.oldVer = localStorage.getItem("lastRunVersion").substring(0, 7);
|
|
|
|
this.newVer = process.env.appVersion.substring(0, 7);
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
okay() {
|
|
|
|
localStorage.setItem("lastRunVersion", process.env.appVersion);
|
|
|
|
this.$router.replace("/");
|
2022-06-18 12:36:14 +00:00
|
|
|
},
|
2022-06-22 05:24:06 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|