feat: update modal

This commit is contained in:
2024-05-08 16:41:14 +02:00
parent b3289d6aab
commit f1fcde8459
7 changed files with 91 additions and 87 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export const useMainStore = defineStore('mainStore', {
region: { id: 'eu', value: 'PL1', name: 'PL1' },
isOffline: false,
isNewUpdate: false,
appUpdate: null,
dispatcherStatsName: '',
dispatcherStatsStatus: Status.Data.Initialized,
-2
View File
@@ -22,8 +22,6 @@ export const useTooltipStore = defineStore('tooltipStore', {
show(_e: MouseEvent, type: string, value?: string) {
if (!isTooltip(type)) return;
console.log(type, value);
this.type = type;
this.content = value ?? '';
},
+1 -1
View File
@@ -4,7 +4,7 @@ import { Availability, StationRoutesInfo, Status } from '../typings/common';
export interface MainStoreState {
region: { id: string; value: string; name: string };
isOffline: boolean;
isNewUpdate: boolean;
appUpdate: { version: string; changelog: string; releaseURL: string } | null;
dispatcherStatsName: string;
dispatcherStatsData?: API.DispatcherStats.Response;
driverStatsName: string;