Skip to content
Snippets Groups Projects
Commit 5b06c6c7 authored by Vinciane's avatar Vinciane
Browse files

FIX #9297 Delete crontab in front

parent a5ba6d6a
No related branches found
No related tags found
No related merge requests found
...@@ -205,6 +205,7 @@ export class NotificationsAdministrationComponent implements OnInit { ...@@ -205,6 +205,7 @@ export class NotificationsAdministrationComponent implements OnInit {
this.crontab[i].state = 'deleted'; this.crontab[i].state = 'deleted';
this.http.post(this.coreUrl + 'rest/notifications/schedule', this.crontab) this.http.post(this.coreUrl + 'rest/notifications/schedule', this.crontab)
.subscribe((data: any) => { .subscribe((data: any) => {
this.crontab.splice(i,1);
this.notify.success(this.lang.notificationScheduleUpdated); this.notify.success(this.lang.notificationScheduleUpdated);
}, (err) => { }, (err) => {
this.notify.error(err.error.errors); this.notify.error(err.error.errors);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment