chore
This commit is contained in:
@@ -12,6 +12,11 @@ export const useQueryControlStore = defineStore('ndm-query-control-store', () =>
|
||||
const updateDeviceQueryStamp = () => (deviceQueryStamp.value = dayjs().valueOf());
|
||||
const updateAlarmQueryStamp = () => (alarmQueryStamp.value = dayjs().valueOf());
|
||||
|
||||
const deviceQueryUpdatedAt = ref(0);
|
||||
const alarmQueryUpdatedAt = ref(0);
|
||||
const updateDeviceQueryUpdatedAt = () => (deviceQueryUpdatedAt.value = dayjs().valueOf());
|
||||
const updateAlarmQueryUpdatedAt = () => (alarmQueryUpdatedAt.value = dayjs().valueOf());
|
||||
|
||||
return {
|
||||
pollingEnabled,
|
||||
enablePolling,
|
||||
@@ -21,5 +26,10 @@ export const useQueryControlStore = defineStore('ndm-query-control-store', () =>
|
||||
alarmQueryStamp,
|
||||
updateDeviceQueryStamp,
|
||||
updateAlarmQueryStamp,
|
||||
|
||||
deviceQueryUpdatedAt,
|
||||
alarmQueryUpdatedAt,
|
||||
updateDeviceQueryUpdatedAt,
|
||||
updateAlarmQueryUpdatedAt,
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user