mirror of
https://github.com/gotson/komga.git
synced 2026-05-07 20:15:47 +02:00
refactor(webui): use color attribute instead of class
This commit is contained in:
parent
7950e29b53
commit
cf3300a5ef
3 changed files with 5 additions and 6 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<v-col>
|
||||
<v-checkbox v-model="confirmDelete" color="red">
|
||||
<template v-slot:label>
|
||||
{{ $t('dialog.delete_collection.confirm_delete', { name: collection.name}) }}
|
||||
{{ $t('dialog.delete_collection.confirm_delete', {name: collection.name}) }}
|
||||
</template>
|
||||
</v-checkbox>
|
||||
</v-col>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<v-card-actions>
|
||||
<v-spacer/>
|
||||
<v-btn text @click="dialogCancel">{{ $t('dialog.delete_collection.button_cancel') }}</v-btn>
|
||||
<v-btn text class="red--text"
|
||||
<v-btn text color="error"
|
||||
@click="dialogConfirm"
|
||||
:disabled="!confirmDelete"
|
||||
>{{ $t('dialog.delete_collection.button_confirm') }}
|
||||
|
|
@ -45,8 +45,7 @@
|
|||
<v-btn
|
||||
text
|
||||
@click="snackbar = false"
|
||||
>
|
||||
Close
|
||||
>{{ $t('common.close') }}
|
||||
</v-btn>
|
||||
</v-snackbar>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<v-card-actions>
|
||||
<v-spacer/>
|
||||
<v-btn text @click="dialogCancel">{{ $t('dialog.delete_library.button_cancel') }}</v-btn>
|
||||
<v-btn text class="red--text"
|
||||
<v-btn text color="error"
|
||||
@click="dialogConfirm"
|
||||
:disabled="!confirmDelete"
|
||||
>{{ $t('dialog.delete_library.button_confirm') }}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
<v-card-actions>
|
||||
<v-spacer/>
|
||||
<v-btn text @click="dialogCancel">{{ $t('dialog.delete_readlist.button_cancel') }}</v-btn>
|
||||
<v-btn text class="red--text"
|
||||
<v-btn text color="error"
|
||||
@click="dialogConfirm"
|
||||
:disabled="!confirmDelete"
|
||||
>{{ $t('dialog.delete_readlist.button_confirm') }}</v-btn>
|
||||
|
|
|
|||
Loading…
Reference in a new issue