Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Got the base toast service functional
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbaud-conorwright committed Apr 10, 2018
1 parent 11ab289 commit a49ebf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/toast/toast.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export class SkyToastService {

this._messages.push(message);
this._messageList.next(this._messages);

return message;
}

private removeFromQueue: Function = (message: Message) => {
Expand All @@ -65,7 +67,7 @@ export class SkyToastService {
throw 'The supplied message is not active.';
}

this._messages = this._messages.filter(message => message !== message);
this._messages = this._messages.filter(msg => msg !== message);
this._messageList.next(this._messages);
};

Expand Down

0 comments on commit a49ebf3

Please sign in to comment.