diff --git a/components/ui/ModerationChecklist.vue b/components/ui/ModerationChecklist.vue new file mode 100644 index 0000000000..800784f51f --- /dev/null +++ b/components/ui/ModerationChecklist.vue @@ -0,0 +1,1033 @@ + + + + + diff --git a/composables/date.js b/composables/date.js index 69bccfb45e..2641317789 100644 --- a/composables/date.js +++ b/composables/date.js @@ -1,7 +1,6 @@ import dayjs from 'dayjs' import relativeTime from 'dayjs/plugin/relativeTime' -// eslint-disable-next-line import/no-named-as-default-member dayjs.extend(relativeTime) export const useCurrentDate = () => useState('currentDate', () => Date.now()) diff --git a/helpers/teams.js b/helpers/teams.js index 132f59fc36..eedddc16f8 100644 --- a/helpers/teams.js +++ b/helpers/teams.js @@ -6,7 +6,7 @@ export const acceptTeamInvite = async (teamId) => { } export const removeSelfFromTeam = async (teamId) => { const auth = await useAuth() - await removeTeamMember(teamId, auth.user.id) + await removeTeamMember(teamId, auth.value.user.id) } export const removeTeamMember = async (teamId, userId) => { await useBaseFetch(`team/${teamId}/members/${userId}`, { diff --git a/layouts/default.vue b/layouts/default.vue index 236c58ae62..4f0df3a8aa 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -5,14 +5,16 @@ class="email-nag" > @@ -25,12 +27,10 @@ >
- You’re viewing Modrinth’s staging environment + {{ formatMessage(stagingBannerMessages.title) }}
- The staging environment is running on a copy of the production Modrinth database. This is - used for testing and debugging purposes, and may be running in-development versions of the - Modrinth backend or frontend newer than the production instance. + {{ formatMessage(stagingBannerMessages.description) }}
@@ -53,13 +53,13 @@ v-if="auth.user" to="/dashboard/notifications" class="control-button button-transparent" - title="Notifications" + :title="formatMessage(commonMessages.notificationsLabel)" >
- Sign in + {{ formatMessage(commonMessages.signInButton) }} - Get Modrinth App + {{ formatMessage(messages.getModrinthApp) }}
@@ -185,32 +193,32 @@