mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
add test document menu component (#1802)
This commit is contained in:
@@ -71,8 +71,8 @@ export class DocumentMenuActionComponent {
|
||||
this.success.emit({node: res.entry});
|
||||
},
|
||||
error => {
|
||||
let errorMessagePlaceholder = this.getErrorMessage(error.response);
|
||||
if (errorMessagePlaceholder) {
|
||||
if (error.response) {
|
||||
let errorMessagePlaceholder = this.getErrorMessage(error.response);
|
||||
this.message = this.formatString(errorMessagePlaceholder, [name]);
|
||||
this.error.emit({message: this.message});
|
||||
this.logService.error(this.message);
|
||||
|
Reference in New Issue
Block a user