diff --git a/app/src/components/globals/formItems/ReadOnlyAlertItem.vue b/app/src/components/globals/formItems/ReadOnlyAlertItem.vue index f163336b..36baacd8 100644 --- a/app/src/components/globals/formItems/ReadOnlyAlertItem.vue +++ b/app/src/components/globals/formItems/ReadOnlyAlertItem.vue @@ -1,6 +1,6 @@ @@ -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 } } } diff --git a/app/src/helpers/yunohostArguments.js b/app/src/helpers/yunohostArguments.js index bd322fc3..8c623fa2 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -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 }, {