From 25e680908b6afeac1840f3994662e8e3aeea6c8d Mon Sep 17 00:00:00 2001 From: guerler Date: Tue, 16 Apr 2024 10:38:03 +0300 Subject: [PATCH] Use const for timestamp attribute --- client/src/components/SelectionDialog/BasicSelectionDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/SelectionDialog/BasicSelectionDialog.vue b/client/src/components/SelectionDialog/BasicSelectionDialog.vue index 013de4be0e9..d80167ca3f7 100644 --- a/client/src/components/SelectionDialog/BasicSelectionDialog.vue +++ b/client/src/components/SelectionDialog/BasicSelectionDialog.vue @@ -54,7 +54,7 @@ async function load() { const response = await props.getData(); const incoming = response.data; items.value = incoming.map((item: any) => { - let timeStamp = item[props.timeKey]; + const timeStamp = item[props.timeKey]; showTime.value = !!timeStamp; return { id: item.id,