feat(pwa): add more errors and elk repo link in push notifications subscription errors (#1610)
This commit is contained in:
parent
2cf8f591e8
commit
0cc4c41315
6 changed files with 18 additions and 7 deletions
|
@ -1,6 +1,4 @@
|
|||
<script setup lang="ts">
|
||||
import { PushSubscriptionError } from '~/composables/push-notifications/types'
|
||||
|
||||
defineProps<{ show?: boolean }>()
|
||||
|
||||
const {
|
||||
|
|
|
@ -36,5 +36,11 @@ const { modelValue } = defineModel<{
|
|||
</CommonTooltip>
|
||||
</head>
|
||||
<p>{{ message }}</p>
|
||||
<p py-2>
|
||||
<NuxtLink font-bold text-primary href="https://github.com/elk-zone/elk" target="_blank" flex="~ row" items-center gap-x-2>
|
||||
{{ $t('settings.notifications.push_notifications.subscription_error.repo_link') }}
|
||||
<span inline-block aria-hidden="true" i-ri:external-link-line class="rtl-flip" />
|
||||
</NuxtLink>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue