From 4206f929eeefc24c6205d512d0d06a20957cd47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 20 Oct 2023 12:20:59 +0300 Subject: [PATCH] Fixed #4663 - ConfirmPopup: button classes implementation defects --- components/lib/confirmpopup/style/ConfirmPopupStyle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/confirmpopup/style/ConfirmPopupStyle.js b/components/lib/confirmpopup/style/ConfirmPopupStyle.js index 740aa0c69..362780089 100644 --- a/components/lib/confirmpopup/style/ConfirmPopupStyle.js +++ b/components/lib/confirmpopup/style/ConfirmPopupStyle.js @@ -86,8 +86,8 @@ const classes = { icon: ({ instance }) => ['p-confirm-popup-icon', instance.confirmation ? instance.confirmation.icon : null], 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], - acceptButton: 'p-confirm-dialog-accept' + rejectButton: ({ instance }) => ['p-confirm-popup-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-text' : null], + acceptButton: 'p-confirm-popup-accept' }; export default BaseStyle.extend({