mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +03:00
Fixed image removal on service pool group
This commit is contained in:
parent
50e368ee7a
commit
622e8629ff
@ -98,7 +98,7 @@ class ServicesPoolGroups(ModelHandler):
|
||||
'priority': item.priority,
|
||||
'name': item.name,
|
||||
'comments': item.comments,
|
||||
'image_id': item.image.uuid,
|
||||
'image_id': item.image.uuid if item.image is not None else None,
|
||||
}
|
||||
|
||||
def item_as_dict_overview(self, item):
|
||||
@ -107,5 +107,5 @@ class ServicesPoolGroups(ModelHandler):
|
||||
'priority': item.priority,
|
||||
'name': item.name,
|
||||
'comments': item.comments,
|
||||
'thumb': item.image.thumb64,
|
||||
'thumb': item.thumb64,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user