mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 05:28:13 +00:00
Dodano changelog; poprawki reaktywności
This commit is contained in:
+5
-5
@@ -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),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user