moff / angular2-flash-messages

Angular 2 flash messages module
52 stars 21 forks source link

Flash Massage showing `default text` along with the defined flash message. #38

Open ds-manish opened 6 years ago

ds-manish commented 6 years ago

Error:

error

I am not sure how this text default text is showing.

Code:

this.flashMessagesService.show('We are in about component!', { cssClass: 'alert-success', timeout: 1000 });

Angular Version


    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

Angular CLI: 1.7.3
Node: 7.8.0
OS: darwin x64
Angular: 5.2.8
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router

@angular/cdk: 5.2.4
@angular/cli: 1.7.3
@angular/material: 5.2.4
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.7.2
webpack: 3.11.0
ds-manish commented 6 years ago

I searched my entire project source code with the text default text, but did not find any.