fix calls row actions

This commit is contained in:
yuri
2018-04-10 14:02:36 +03:00
parent 425e36bff6
commit 879da4dca2
2 changed files with 20 additions and 20 deletions
@@ -48,16 +48,16 @@ Espo.define('crm:views/call/record/row-actions/dashlet', ['views/record/row-acti
id: this.model.id
}
});
if (this.options.acl.delete) {
actionList.push({
action: 'quickRemove',
label: 'Remove',
data: {
id: this.model.id,
scope: this.model.name
}
});
}
}
if (this.options.acl.delete) {
actionList.push({
action: 'quickRemove',
label: 'Remove',
data: {
id: this.model.id,
scope: this.model.name
}
});
}
return actionList;
@@ -48,16 +48,16 @@ Espo.define('crm:views/call/record/row-actions/default', ['views/record/row-acti
id: this.model.id
}
});
if (this.options.acl.delete) {
actionList.push({
action: 'quickRemove',
label: 'Remove',
data: {
id: this.model.id,
scope: this.model.name
}
});
}
}
if (this.options.acl.delete) {
actionList.push({
action: 'quickRemove',
label: 'Remove',
data: {
id: this.model.id,
scope: this.model.name
}
});
}
return actionList;