Merged PR 22: fixed and publish

fixed and publish
This commit is contained in:
Mathias Beaulieu-Duncan 2019-11-13 15:49:45 +00:00
commit 686674a94d
3 changed files with 6 additions and 4 deletions

View File

@ -1,13 +1,15 @@
{
"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",
"build-lib": "ng build @poweredsoft/data",
"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({