Disable hosts toggle in smart inventory hosts tab

This commit is contained in:
Marliana Lara
2019-02-01 10:55:07 -05:00
parent d63518d789
commit fb7596929f

View File

@@ -38,7 +38,8 @@ export default {
delete list.fieldActions.delete;
delete list.fieldActions.edit;
delete list.fieldActions.view.ngShow;
list.fields.toggleHost.ngDisabled = true;
let toggleHost = list.staticColumns.find((el) => { return el.field === 'toggleHost'; });
toggleHost.content.ngDisabled = true;
list.fields.name.columnClass = 'col-lg-8 col-md-11 col-sm-8 col-xs-7';
return list;
}],