DEV: zmiana w pobieraniu danych z API

This commit is contained in:
2021-12-30 00:57:22 +01:00
parent cb306d4be5
commit 967356a02a
8 changed files with 114 additions and 45 deletions
+3 -2
View File
@@ -102,6 +102,7 @@ import { StoreData } from './scripts/interfaces/StoreData';
import { useStore } from './store';
import packageInfo from '.././package.json';
import axios from 'axios';
export default defineComponent({
components: {
@@ -149,7 +150,7 @@ export default defineComponent({
this.loadLang();
},
mounted() {
async mounted() {
if (StorageManager.getStringValue('version') != this.VERSION) {
StorageManager.setStringValue('version', this.VERSION);
@@ -158,7 +159,7 @@ export default defineComponent({
this.updateModalVisible = this.hasReleaseNotes && !StorageManager.getBooleanValue('version_notes_read');
this.updateToNewestVersion();
this.updateToNewestVersion();
},
methods: {