mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Icons in alert config panel
This commit is contained in:
parent
911c5deeb0
commit
56df38d999
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<b-alert :variant="type" show>
|
||||
<icon :iname="type" />
|
||||
<icon :iname="icon" />
|
||||
{{ label }}
|
||||
</b-alert>
|
||||
</template>
|
||||
|
@ -12,7 +12,8 @@ export default {
|
|||
props: {
|
||||
id: { type: String, default: null },
|
||||
label: { type: String, default: null },
|
||||
type: { type: String, default: null }
|
||||
type: { type: String, default: null },
|
||||
icon: { type: String, default: null }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -150,7 +150,7 @@ export function formatYunoHostArgument (arg) {
|
|||
{
|
||||
types: ['success', 'info', 'warning', 'danger'],
|
||||
name: 'ReadOnlyAlertItem',
|
||||
props: ['type', 'label:ask'],
|
||||
props: ['type', 'label:ask', 'icon'],
|
||||
readonly: true
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue