|
104 | 104 | </nuxt-link>
|
105 | 105 | <template v-if="tags.rejectedStatuses.includes(notification.body.new_status)">
|
106 | 106 | has been
|
107 |
| - <Badge :type="notification.body.new_status" /> |
| 107 | + <ProjectStatusBadge :status="notification.body.new_status" /> |
108 | 108 | </template>
|
109 | 109 | <template v-else>
|
110 | 110 | updated from
|
111 |
| - <Badge :type="notification.body.old_status" /> |
| 111 | + <ProjectStatusBadge :status="notification.body.old_status" /> |
112 | 112 | to
|
113 |
| - <Badge :type="notification.body.new_status" /> |
| 113 | + <ProjectStatusBadge :status="notification.body.new_status" /> |
114 | 114 | </template>
|
115 | 115 | by the moderators.
|
116 | 116 | </template>
|
@@ -331,16 +331,13 @@ import {
|
331 | 331 | XIcon,
|
332 | 332 | ExternalIcon,
|
333 | 333 | } from "@modrinth/assets";
|
334 |
| -import { useRelativeTime } from "@modrinth/ui"; |
| 334 | +import { Avatar, ProjectStatusBadge, CopyCode, useRelativeTime } from "@modrinth/ui"; |
335 | 335 | import ThreadSummary from "~/components/ui/thread/ThreadSummary.vue";
|
336 | 336 | import { getProjectLink, getVersionLink } from "~/helpers/projects.js";
|
337 | 337 | import { getUserLink } from "~/helpers/users.js";
|
338 | 338 | import { acceptTeamInvite, removeSelfFromTeam } from "~/helpers/teams.js";
|
339 | 339 | import { markAsRead } from "~/helpers/notifications.ts";
|
340 | 340 | import DoubleIcon from "~/components/ui/DoubleIcon.vue";
|
341 |
| -import Avatar from "~/components/ui/Avatar.vue"; |
342 |
| -import Badge from "~/components/ui/Badge.vue"; |
343 |
| -import CopyCode from "~/components/ui/CopyCode.vue"; |
344 | 341 | import Categories from "~/components/ui/search/Categories.vue";
|
345 | 342 |
|
346 | 343 | const app = useNuxtApp();
|
|
0 commit comments