Closed MMwandigha closed 1 week ago
Works fine! But the discard-button isn't red as we discussed yesterday, wasn't it possible?
@Angamanga I noticed that the cancel button has the mat-dialog-close="false"
setting, which means that it doesnt have to be defined explicitly in every modal/notification, therefore this cancel button appears in every modal by default. So I decided to utilize it instead.
I can set a condition to display the 'red' color if the button is destructive as shown in the latest commit, let me hear what you think
Adding confirmation modal for unsaved survey changes
Below are some of the changes that I have made;
How to test;