diff --git a/components/lib/confirmdialog/BaseConfirmDialog.vue b/components/lib/confirmdialog/BaseConfirmDialog.vue index 72524ec9e..ef438059c 100644 --- a/components/lib/confirmdialog/BaseConfirmDialog.vue +++ b/components/lib/confirmdialog/BaseConfirmDialog.vue @@ -6,9 +6,7 @@ const classes = { icon: ({ instance }) => ['p-confirm-dialog-icon', instance.confirmation ? instance.confirmation.icon : null], message: 'p-confirm-dialog-message', rejectButton: ({ instance }) => ['p-confirm-dialog-reject', instance.confirmation ? instance.confirmation.rejectClass || 'p-button-text' : null], - rejectButtonIcon: ({ context }) => [context && context.icon, context && context.iconClass], - acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null], - acceptButtonIcon: ({ context }) => [context && context.icon, context && context.iconClass] + acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null] }; export default { diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue index b3015dfc5..cd3f31091 100644 --- a/components/lib/confirmdialog/ConfirmDialog.vue +++ b/components/lib/confirmdialog/ConfirmDialog.vue @@ -26,14 +26,14 @@ diff --git a/components/lib/confirmpopup/BaseConfirmPopup.vue b/components/lib/confirmpopup/BaseConfirmPopup.vue index 191a418d4..5bd3509e9 100644 --- a/components/lib/confirmpopup/BaseConfirmPopup.vue +++ b/components/lib/confirmpopup/BaseConfirmPopup.vue @@ -87,9 +87,7 @@ const classes = { message: 'p-confirm-popup-message', footer: 'p-confirm-popup-footer', rejectButton: ({ instance }) => ['p-confirm-dialog-reject', instance.confirmation ? instance.confirmation.rejectClass || 'p-button-text' : null], - rejectButtonIcon: ({ context }) => [context && context.icon, context && context.iconClass], - acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null], - acceptButtonIcon: ({ context }) => [context && context.icon, context && context.iconClass] + acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null] }; const { load: loadStyle } = useStyle(styles, { id: 'primevue_confirmPopup_style', manual: true }); diff --git a/components/lib/confirmpopup/ConfirmPopup.vue b/components/lib/confirmpopup/ConfirmPopup.vue index fa5359711..29e9b0124 100644 --- a/components/lib/confirmpopup/ConfirmPopup.vue +++ b/components/lib/confirmpopup/ConfirmPopup.vue @@ -16,14 +16,14 @@ diff --git a/components/lib/dialog/BaseDialog.vue b/components/lib/dialog/BaseDialog.vue index df32357c2..bacf13a28 100644 --- a/components/lib/dialog/BaseDialog.vue +++ b/components/lib/dialog/BaseDialog.vue @@ -199,7 +199,7 @@ const classes = { maximizableIcon: ({ props, instance }) => `p-dialog-header-maximize-icon ${instance.maximized ? props.minimizeIcon : props.maximizeIcon}`, closeButton: 'p-dialog-header-icon p-dialog-header-close p-link', closeButtonIcon: ({ props }) => ['p-dialog-header-close-icon', props.closeIcon], - content: ({ props }) => ['p-dialog-content', props.contentClass], + content: 'p-dialog-content', footer: 'p-dialog-footer' }; diff --git a/components/lib/dialog/Dialog.vue b/components/lib/dialog/Dialog.vue index 619ad509e..19692a566 100755 --- a/components/lib/dialog/Dialog.vue +++ b/components/lib/dialog/Dialog.vue @@ -30,7 +30,7 @@ -
+