comments / notifications : improve abstraction
This commit is contained in:
parent
f467012241
commit
32c026acfe
11 changed files with 92 additions and 65 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<span class="comment__id">#{{ commentIndex }}</span>
|
||||
•
|
||||
</template>
|
||||
<span class="comment__page">Page {{ comment.file.pageIndex }}</span>
|
||||
<span class="comment__page">Page {{ comment.position.pageIndex }}</span>
|
||||
<time
|
||||
class="comment__date"
|
||||
:datetime="dayjs(comment.date).format('YYYY-MM-DD')"
|
||||
|
|
@ -55,7 +55,6 @@ import { useUserStore } from "../../stores/user";
|
|||
import { useApiStore } from "../../stores/api";
|
||||
import { useDialogStore } from "../../stores/dialog";
|
||||
import { computed } from "vue";
|
||||
import { storeToRefs } from "pinia";
|
||||
|
||||
dayjs.locale("fr");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue