Dodano changelog; poprawki reaktywności

This commit is contained in:
2022-08-20 18:07:21 +02:00
parent 6c4c33cb65
commit 9b252cf205
10 changed files with 218 additions and 84 deletions
+5 -5
View File
@@ -1,5 +1,6 @@
import { defineStore } from 'pinia';
import { IStore } from './types/types';
import { Availability, ChangeProp, HeaderTypes, IStore } from './types/types';
import { getAvailabilityValue } from './types/typeUitls';
export const useStore = defineStore('store', {
state: () =>
@@ -7,11 +8,10 @@ export const useStore = defineStore('store', {
dataState: 'LOADING',
unsavedChanges: false,
stationList: [],
backupList: '',
backupList: [],
stationsToRemove: [],
searchedSceneryName: '',
changeList: {},
changeBackupList: {},
changeList: [],
newStationsCount: 0,
routesModalVisible: true,
currentStation: null,
@@ -23,6 +23,6 @@ export const useStore = defineStore('store', {
alertMessage: '',
confirmMessage: '',
changesResponse: []
changesResponse: [],
} as IStore),
});