mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
Disabling notifications related button for manual groups
This commit is contained in:
@@ -352,7 +352,7 @@ export default
|
|||||||
if (GroupFormObject.related[itm].include === "NotificationsList") {
|
if (GroupFormObject.related[itm].include === "NotificationsList") {
|
||||||
GroupFormObject.related[itm] = NotificationsList;
|
GroupFormObject.related[itm] = NotificationsList;
|
||||||
GroupFormObject.related[itm].generateList = true;
|
GroupFormObject.related[itm].generateList = true;
|
||||||
GroupFormObject.related[itm].disabled = "source === undefined";
|
GroupFormObject.related[itm].disabled = "source === undefined || source.value === ''";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return GroupFormObject;
|
return GroupFormObject;
|
||||||
|
|||||||
Reference in New Issue
Block a user