Starting to see the light
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user