mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-22 22:13:20 +02:00
Update Webpush.vue
This commit is contained in:
parent
fbebad86b9
commit
feb6700fe7
@ -1,10 +1,14 @@
|
||||
<template>
|
||||
<button
|
||||
class="mb-3"
|
||||
type="button" :class="[
|
||||
type="button"
|
||||
:class="[
|
||||
'btn',
|
||||
canRegister ? 'btn-primary' : 'btn-danger'
|
||||
]" :disabled="!btnEnabled" @click="registerWebpush">
|
||||
]"
|
||||
:disabled="!btnEnabled"
|
||||
@click="registerWebpush"
|
||||
>
|
||||
<div v-if="processing" class="spinner-border spinner-border-sm me-1"></div>
|
||||
<span v-else-if="$parent.notification.subscription" class="me-1">✓</span>
|
||||
{{ btnText }}
|
||||
|
Loading…
Reference in New Issue
Block a user