mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Disable hosts toggle in smart inventory hosts tab
This commit is contained in:
@@ -38,7 +38,8 @@ export default {
|
|||||||
delete list.fieldActions.delete;
|
delete list.fieldActions.delete;
|
||||||
delete list.fieldActions.edit;
|
delete list.fieldActions.edit;
|
||||||
delete list.fieldActions.view.ngShow;
|
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';
|
list.fields.name.columnClass = 'col-lg-8 col-md-11 col-sm-8 col-xs-7';
|
||||||
return list;
|
return list;
|
||||||
}],
|
}],
|
||||||
|
|||||||
Reference in New Issue
Block a user