fixed and publish

This commit is contained in:
Mathias Beaulieu-Duncan 2019-11-13 09:42:01 -06:00
parent c1c19c5ce0
commit 2939922830
3 changed files with 5 additions and 4 deletions

View File

@ -1,13 +1,14 @@
{
"name": "data",
"version": "0.0.0",
"version": "0.0.26",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"publish-lib": "npm publish dist/poweredsoft/data"
},
"private": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@poweredsoft/data",
"version": "0.0.25",
"version": "0.0.26",
"peerDependencies": {
"rxjs": "^6.5.3"
}

View File

@ -112,7 +112,7 @@ export class DataSource<TModel> implements IDataSource<TModel>
return this.options.transport.commands[name].adapter.handle(command).pipe(
map(t => {
let message = `{command} was executed successfully..`;
if (!this.manageNotificationMessage)
if (this.manageNotificationMessage)
message = message.replace('{command}', name);
this._notifyMessageSubject.next({