mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
tag fix body
This commit is contained in:
parent
50daa0ef7b
commit
3fc7b0d95f
@ -66,7 +66,7 @@ export class TagService {
|
|||||||
const tagBody = new TagBody();
|
const tagBody = new TagBody();
|
||||||
tagBody.tag = tagName;
|
tagBody.tag = tagName;
|
||||||
|
|
||||||
const observableAdd = from(this.apiService.getInstance().core.tagsApi.addTag(nodeId, tagBody));
|
const observableAdd = from(this.apiService.getInstance().core.tagsApi.addTag(nodeId, [tagBody]));
|
||||||
|
|
||||||
observableAdd.subscribe((tagEntry: TagEntry) => {
|
observableAdd.subscribe((tagEntry: TagEntry) => {
|
||||||
this.refresh.emit(tagEntry);
|
this.refresh.emit(tagEntry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user