Skip to content

Commit

Permalink
Use const for timestamp attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Apr 16, 2024
1 parent 964b63f commit 8ba57a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8ba57a7

Please sign in to comment.