[ACA-1135] spike on deleting nodes from the viewer (#192)

* delete/restore from the viewer

* rename content management service events

* test fixes

* offload node delete/restore to content service

* improve tests
This commit is contained in:
Denys Vuika
2018-02-21 06:00:58 +00:00
committed by Cilibiu Bogdan
parent 0d727a5ffd
commit 5234a875e7
19 changed files with 147 additions and 44 deletions

View File

@@ -74,7 +74,7 @@ export class NodeDeleteDirective {
.subscribe(() => this.restore(processedData.success));
if (processedData.someSucceeded) {
this.content.deleteNode.next(null);
this.content.nodeDeleted.next(null);
}
});
}
@@ -103,7 +103,7 @@ export class NodeDeleteDirective {
}
if (processedData.someSucceeded) {
this.content.restoreNode.next(null);
this.content.nodeRestored.next(null);
}
}
);