patches v1.2.2 #7
2 changed files with 6 additions and 10 deletions
|
@ -24,7 +24,7 @@
|
||||||
<h1>
|
<h1>
|
||||||
{{ data?.title }}
|
{{ data?.title }}
|
||||||
</h1>
|
</h1>
|
||||||
<p v-if="itemDate" class="w-full text-[#5c5c5c]">
|
<p v-if="itemDate && lookup?.show_date" class="w-full text-[#5c5c5c]">
|
||||||
{{ itemDate }}
|
{{ itemDate }}
|
||||||
</p>
|
</p>
|
||||||
<p class="w-full text-[#5c5c5c] line-clamp-2 overflow-hidden">
|
<p class="w-full text-[#5c5c5c] line-clamp-2 overflow-hidden">
|
||||||
|
@ -78,10 +78,8 @@ const itemDate = computed(() => {
|
||||||
props.lookup?.list_with_date == "none" || props.lookup?.items_with_number != "none"
|
props.lookup?.list_with_date == "none" || props.lookup?.items_with_number != "none"
|
||||||
? ("2-digit" as const)
|
? ("2-digit" as const)
|
||||||
: undefined,
|
: undefined,
|
||||||
minute:
|
minute: props.data?.date.includes("T") ? ("2-digit" as const) : undefined,
|
||||||
props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined,
|
hour: props.data?.date.includes("T") ? ("2-digit" as const) : undefined,
|
||||||
hour:
|
|
||||||
props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined,
|
|
||||||
};
|
};
|
||||||
if (Object.values(config).filter((c) => c).length != 0) {
|
if (Object.values(config).filter((c) => c).length != 0) {
|
||||||
//(props.lookup?.list_with_date != "none" || props.lookup?.show_date)
|
//(props.lookup?.list_with_date != "none" || props.lookup?.show_date)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<div class="grow shrink basis-0 flex-col justify-center items-center flex overflow-hidden">
|
<div class="grow shrink basis-0 flex-col justify-center items-center flex overflow-hidden">
|
||||||
<h1 class="w-full">{{ data?.title }}</h1>
|
<h1 class="w-full">{{ data?.title }}</h1>
|
||||||
<p v-if="itemDate" class="w-full text-[#5c5c5c]">
|
<p v-if="itemDate && lookup?.show_date" class="w-full text-[#5c5c5c]">
|
||||||
{{ itemDate }}
|
{{ itemDate }}
|
||||||
</p>
|
</p>
|
||||||
<p class="w-full text-[#5c5c5c] line-clamp-2 overflow-hidden">
|
<p class="w-full text-[#5c5c5c] line-clamp-2 overflow-hidden">
|
||||||
|
@ -59,10 +59,8 @@ const itemDate = computed(() => {
|
||||||
props.lookup?.list_with_date == "none" || props.lookup?.items_with_number != "none"
|
props.lookup?.list_with_date == "none" || props.lookup?.items_with_number != "none"
|
||||||
? ("2-digit" as const)
|
? ("2-digit" as const)
|
||||||
: undefined,
|
: undefined,
|
||||||
minute:
|
minute: props.data?.date.includes("T") ? ("2-digit" as const) : undefined,
|
||||||
props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined,
|
hour: props.data?.date.includes("T") ? ("2-digit" as const) : undefined,
|
||||||
hour:
|
|
||||||
props.data?.date.includes("T") && props.lookup?.items_with_number != "none" ? ("2-digit" as const) : undefined,
|
|
||||||
};
|
};
|
||||||
if (Object.values(config).filter((c) => c).length != 0) {
|
if (Object.values(config).filter((c) => c).length != 0) {
|
||||||
//(props.lookup?.list_with_date != "none" || props.lookup?.show_date)
|
//(props.lookup?.list_with_date != "none" || props.lookup?.show_date)
|
||||||
|
|
Loading…
Add table
Reference in a new issue