Allow 'Update Instance' action when Configuration Group is attached
Task: 47103 Story: 2010508 Change-Id: I945acea45db9b93f8c0b60ff77236f5bd36bde61
This commit is contained in:
parent
e1418f2294
commit
f7ac3a3c4e
@ -690,8 +690,7 @@ class UpdateInstance(tables.LinkAction):
|
||||
classes = ("btn-attach-config", "ajax-modal")
|
||||
|
||||
def allowed(self, request, instance=None):
|
||||
return (instance.status in ACTIVE_STATES and
|
||||
not hasattr(instance, 'configuration'))
|
||||
return (instance.status in ACTIVE_STATES)
|
||||
|
||||
|
||||
class InstancesTable(tables.DataTable):
|
||||
|
Loading…
Reference in New Issue
Block a user