proposal step : handle multiple files

This commit is contained in:
isUnknown 2024-11-18 16:21:07 +01:00
parent 9ade34e6ea
commit 86d3f8b22c
7 changed files with 119 additions and 31 deletions

View file

@ -36,14 +36,14 @@
v-for="notification in sortedNotifications"
:key="notification.id"
>
<router-link
v-if="currentTab === 'all' || !notification.isRead"
:to="notification.location.href"
<article
class="notification | bg-white rounded-lg | p-16 | flow"
:data-status="notification.isRead ? 'read' : 'unread'"
:data-type="notification.type"
>
<article
class="notification | bg-white rounded-lg | p-16 | flow"
:data-status="notification.isRead ? 'read' : 'unread'"
:data-type="notification.type"
<router-link
v-if="currentTab === 'all' || !notification.isRead"
:to="notification.location.href"
>
<header>
<p class="flex">
@ -71,8 +71,8 @@
>
{{ notification.text }}
</p>
</article>
</router-link>
</router-link>
</article>
</template>
<!-- <article
class="notification | bg-white rounded-lg | p-16 | flow"
@ -156,7 +156,7 @@ function formatDate(notification) {
const isToday = notificationDigitalDate === todayDigitalDate;
if (isToday) {
return dayjs(notification.date).format("h:m");
return dayjs(notification.date).format("HH:mm");
} else if (todayDigitalDate === notificationDigitalDate + 1) {
return "hier";
} else {