change notifications structure from object to array

This commit is contained in:
isUnknown 2024-10-30 12:15:28 +01:00
parent 0d25794b87
commit 20824983a6
8 changed files with 64 additions and 50 deletions

View file

@ -2,7 +2,7 @@
<article class="comment | flow" :data-status="setStatus(comment)">
<header>
<p>
<strong>{{ comment.user.name ?? comment.user.email }}</strong>
<strong>{{ comment.author.name ?? comment.author.email }}</strong>
<template v-if="commentIndex">
<span class="comment__id">#{{ commentIndex }}</span>