mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
feat: update modal
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 ?? '';
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user