mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
Generowanie godziny
This commit is contained in:
+4
-3
@@ -3,13 +3,13 @@ import { defineStore } from 'pinia';
|
||||
export const useStore = defineStore('store', {
|
||||
state: () => {
|
||||
return {
|
||||
chosenOrderType: 'OrderO',
|
||||
chosenOrderType: 'OrderN',
|
||||
|
||||
orderFooter: {
|
||||
stationName: '',
|
||||
checkpointName: '',
|
||||
hour: '',
|
||||
minutes: '',
|
||||
hour: new Date().toLocaleTimeString('pl-PL', { hour: '2-digit' }),
|
||||
minutes: new Date().toLocaleTimeString('pl-PL', { minute: '2-digit' }),
|
||||
dispatcherName: '',
|
||||
secondaryDispatcherName: '',
|
||||
},
|
||||
@@ -179,3 +179,4 @@ export const useStore = defineStore('store', {
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user