Starting to see the light

This commit is contained in:
2018-09-09 21:06:34 -04:00
parent 911a8bac49
commit c931c03071
19 changed files with 442 additions and 70 deletions

View File

@@ -47,6 +47,7 @@ export class AlertService {
}
alert(type: AlertType, message: string, keepAfterRouteChange = false) {
this.clear();
this.keepAfterRouteChange = keepAfterRouteChange;
this.subject.next(<Alert>{ type: type, message: message });
}