Skip to content

Commit

Permalink
Merge pull request #3461 from primefaces/issue-3431
Browse files Browse the repository at this point in the history
ConfirmDialog: Icon rendering problem fixed
  • Loading branch information
bahadirsofuoglu authored Jan 9, 2023
2 parents 330c347 + f03bb29 commit 646d4c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/confirmdialog/ConfirmDialog.vue
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 646d4c9

Please sign in to comment.