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', {
|
export const useStore = defineStore('store', {
|
||||||
state: () => {
|
state: () => {
|
||||||
return {
|
return {
|
||||||
chosenOrderType: 'OrderO',
|
chosenOrderType: 'OrderN',
|
||||||
|
|
||||||
orderFooter: {
|
orderFooter: {
|
||||||
stationName: '',
|
stationName: '',
|
||||||
checkpointName: '',
|
checkpointName: '',
|
||||||
hour: '',
|
hour: new Date().toLocaleTimeString('pl-PL', { hour: '2-digit' }),
|
||||||
minutes: '',
|
minutes: new Date().toLocaleTimeString('pl-PL', { minute: '2-digit' }),
|
||||||
dispatcherName: '',
|
dispatcherName: '',
|
||||||
secondaryDispatcherName: '',
|
secondaryDispatcherName: '',
|
||||||
},
|
},
|
||||||
@@ -179,3 +179,4 @@ export const useStore = defineStore('store', {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user