Skip to content
Snippets Groups Projects
Commit b2bde999 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '720-fix-translations-on-vue-enabled-notification-pages' into 'master'

Resolve "Fix translations on Vue-enabled notification pages"

Closes #720

See merge request !1074
parents 6c2a0f34 ec42cbaf
No related branches found
No related tags found
1 merge request!1074Resolve "Fix translations on Vue-enabled notification pages"
Pipeline #83152 canceled
......@@ -22,7 +22,7 @@
<v-list-item-action v-if="notification.link">
<v-btn text :href="notification.link">
{{ this.$root.django.gettext('More information →') }}
{{ $root.django.gettext('More information →') }}
</v-btn>
</v-list-item-action>
......
......@@ -4,14 +4,14 @@
:pollInterval="1000"
>
<template v-slot="{ result: { error, data }, isLoading }">
<v-list two-line v-if="data && data.myNotifications.notifications">
<v-list two-line v-if="data && data.myNotifications.notifications.length">
<NotificationItem
v-for="notification in data.myNotifications.notifications"
:key="notification.id"
:notification="notification"
/>
</v-list>
<p v-else>{{ this.$root.django.gettext('No notifications available yet.') }}</p>
<p v-else>{{ $root.django.gettext('No notifications available yet.') }}</p>
</template>
</ApolloQuery>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment