Refactor confirmation dialogs to standardize button labels and styles across components (#2560)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
@@ -95,6 +95,14 @@ export class BookMenuService {
|
||||
icon: 'pi pi-exclamation-triangle',
|
||||
acceptLabel: 'Yes',
|
||||
rejectLabel: 'No',
|
||||
acceptButtonProps: {
|
||||
label: 'Yes',
|
||||
severity: 'success'
|
||||
},
|
||||
rejectButtonProps: {
|
||||
label: 'No',
|
||||
severity: 'secondary'
|
||||
},
|
||||
accept: () => {
|
||||
const loader = this.loadingService.show(`Updating read status for ${count} book(s)...`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user