diff options
| author | tusooa <tusooa@kazv.moe> | 2022-11-08 00:43:33 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2022-11-08 00:43:33 -0500 |
| commit | 17aa503106f129e391f8478ade6821f09ef7494a (patch) | |
| tree | 199f85dfe05f60d397014c2e2d4671ca37f397fe /src/components/notification | |
| parent | a34bea75a808de9841f616896ebb630972475707 (diff) | |
Make notification panel a list of articles
Diffstat (limited to 'src/components/notification')
| -rw-r--r-- | src/components/notification/notification.vue | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 26b174ff..84f3f7de 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -1,11 +1,14 @@ <template> - <Status + <article v-if="notification.type === 'mention'" - class="Notification" - :compact="true" - :statusoid="notification.status" - /> - <div v-else> + > + <Status + class="Notification" + :compact="true" + :statusoid="notification.status" + /> + </article> + <article v-else> <div v-if="needMute && !unmuted" class="Notification container -muted" @@ -226,7 +229,7 @@ </template> </div> </div> - </div> + </article> </template> <script src="./notification.js"></script> |
