mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
Wybór posterunku
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { IOrderN, IOrderO, IOrderS, TOrder } from '../types/orderTypes';
|
||||
import { currentFormattedDate } from '../utils/dateUtils';
|
||||
import { currentFormattedDate, currentFormattedHours, currentFormattedMinutes } from '../utils/dateUtils';
|
||||
|
||||
export const useStore = defineStore('store', {
|
||||
state: () => {
|
||||
@@ -15,8 +15,8 @@ export const useStore = defineStore('store', {
|
||||
orderFooter: {
|
||||
stationName: '',
|
||||
checkpointName: '',
|
||||
hour: new Date().toLocaleTimeString('pl-PL', { hour: '2-digit' }),
|
||||
minutes: new Date().toLocaleTimeString('pl-PL', { minute: '2-digit' }),
|
||||
hour: currentFormattedHours(),
|
||||
minutes: currentFormattedMinutes(),
|
||||
dispatcherName: '',
|
||||
secondaryDispatcherName: '',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user