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>
|
<template>
|
||||||
<button
|
<button
|
||||||
class="mb-3"
|
class="mb-3"
|
||||||
type="button" :class="[
|
type="button"
|
||||||
|
:class="[
|
||||||
'btn',
|
'btn',
|
||||||
canRegister ? 'btn-primary' : 'btn-danger'
|
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>
|
<div v-if="processing" class="spinner-border spinner-border-sm me-1"></div>
|
||||||
<span v-else-if="$parent.notification.subscription" class="me-1">✓</span>
|
<span v-else-if="$parent.notification.subscription" class="me-1">✓</span>
|
||||||
{{ btnText }}
|
{{ btnText }}
|
||||||
|
Loading…
Reference in New Issue
Block a user