mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
committed by
Cilibiu Bogdan
parent
892b49046f
commit
b189945627
@@ -48,12 +48,9 @@ export class NodesApi extends RepoApi {
|
||||
}
|
||||
|
||||
getNodeDescription(name: string): Promise<string> {
|
||||
let description = 'cm:description';
|
||||
|
||||
return this
|
||||
.getNodeByPath(name)
|
||||
.then((response: any): string => response.data.entry.properties[description])
|
||||
.catch(this.handleError);
|
||||
return this.getNodeByPath(name)
|
||||
.then(response => response.data.entry.properties['cm:description'])
|
||||
.catch(() => Promise.resolve(''));
|
||||
}
|
||||
|
||||
deleteNodes(names: string[], relativePath: string = '', permanent: boolean = true): Promise<any> {
|
||||
|
Reference in New Issue
Block a user