diff --git a/components/base/ListImageItem.vue b/components/base/ListImageItem.vue index 323035b..4a40a1d 100644 --- a/components/base/ListImageItem.vue +++ b/components/base/ListImageItem.vue @@ -24,7 +24,7 @@

{{ data?.title }}

-

+

{{ itemDate }}

@@ -78,10 +78,8 @@ const itemDate = computed(() => { props.lookup?.list_with_date == "none" || props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined, - minute: - props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined, - hour: - props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined, + minute: props.data?.date.includes("T") ? ("2-digit" as const) : undefined, + hour: props.data?.date.includes("T") ? ("2-digit" as const) : undefined, }; if (Object.values(config).filter((c) => c).length != 0) { //(props.lookup?.list_with_date != "none" || props.lookup?.show_date) diff --git a/components/base/ListItem.vue b/components/base/ListItem.vue index bcd6c89..2be7a84 100644 --- a/components/base/ListItem.vue +++ b/components/base/ListItem.vue @@ -10,7 +10,7 @@

{{ data?.title }}

-

+

{{ itemDate }}

@@ -59,10 +59,8 @@ const itemDate = computed(() => { props.lookup?.list_with_date == "none" || props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined, - minute: - props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined, - hour: - props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined, + minute: props.data?.date.includes("T") ? ("2-digit" as const) : undefined, + hour: props.data?.date.includes("T") ? ("2-digit" as const) : undefined, }; if (Object.values(config).filter((c) => c).length != 0) { //(props.lookup?.list_with_date != "none" || props.lookup?.show_date)