[#2] Correction of popup color.
This commit is contained in:
@@ -159,7 +159,7 @@ export class CreateUpdatePostComponent implements OnInit {
|
||||
|
||||
if (this.model.key) {
|
||||
this.createUpdatePostService.updatePost(this.model).subscribe(post => {
|
||||
NotificationsComponent.error('Modification enregistrée');
|
||||
NotificationsComponent.success('Modification enregistrée');
|
||||
});
|
||||
} else {
|
||||
this.createUpdatePostService.addPost(this.model).subscribe(post => {
|
||||
|
||||
Reference in New Issue
Block a user