Revize 4b76cfa7
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/shared/services/toast.service.ts | ||
---|---|---|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
showSuccess() { |
23 |
this.messageService.add({key: 'mainToast', severity:'success', summary: 'No data!', detail: 'Successful request!'}); |
|
23 |
this.messageService.add({key: 'mainToast', severity:'success', summary: 'Success!', detail: 'Successful request!'}); |
|
24 |
} |
|
25 |
|
|
26 |
showSuccessMessage(message: any) { |
|
27 |
this.messageService.add({key: 'mainToast', severity:'success', summary: 'Success!', detail: message}); |
|
28 |
} |
|
29 |
|
|
30 |
operationRejected() { |
|
31 |
this.messageService.add({key: 'mainToast', severity:'warn', summary: 'Reject!', detail: 'Operation rejected!'}); |
|
24 | 32 |
} |
25 | 33 |
} |
Také k dispozici: Unified diff
Re #8787 - Přidat unit - úprava formuláře