[#2] Correction of popup color.

This commit is contained in:
2019-08-08 20:24:11 +02:00
parent 2f63b798e5
commit 063d1de074

View File

@@ -159,7 +159,7 @@ export class CreateUpdatePostComponent implements OnInit {
if (this.model.key) { if (this.model.key) {
this.createUpdatePostService.updatePost(this.model).subscribe(post => { this.createUpdatePostService.updatePost(this.model).subscribe(post => {
NotificationsComponent.error('Modification enregistrée'); NotificationsComponent.success('Modification enregistrée');
}); });
} else { } else {
this.createUpdatePostService.addPost(this.model).subscribe(post => { this.createUpdatePostService.addPost(this.model).subscribe(post => {