Merge pull request #3461 from primefaces/issue-3431
ConfirmDialog: Icon rendering problem fixedpull/3509/head
commit
646d4c94c3
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<CDialog v-model:visible="visible" role="alertdialog" class="p-confirm-dialog" :modal="true" :header="header" :blockScroll="blockScroll" :position="position" :breakpoints="breakpoints" :closeOnEscape="closeOnEscape" @update:visible="onHide">
|
||||
<template v-if="!$slots.message">
|
||||
<i :class="iconClass" />
|
||||
<span class="p-confirm-dialog-message">{{ message }}</span>
|
||||
<i v-if="confirmation.icon" :class="iconClass" />
|
||||
<span :class="{ 'p-confirm-dialog-message': confirmation.icon }">{{ message }}</span>
|
||||
</template>
|
||||
<component v-else :is="$slots.message" :message="confirmation"></component>
|
||||
<template #footer>
|
||||
|
|
Loading…
Reference in New Issue