Update Webpush.vue

pull/5444/merge^2
DoidoYo 4 weeks ago
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…
Cancel
Save