forked from shaba/openuds
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,
|
'priority': item.priority,
|
||||||
'name': item.name,
|
'name': item.name,
|
||||||
'comments': item.comments,
|
'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):
|
def item_as_dict_overview(self, item):
|
||||||
@ -107,5 +107,5 @@ class ServicesPoolGroups(ModelHandler):
|
|||||||
'priority': item.priority,
|
'priority': item.priority,
|
||||||
'name': item.name,
|
'name': item.name,
|
||||||
'comments': item.comments,
|
'comments': item.comments,
|
||||||
'thumb': item.image.thumb64,
|
'thumb': item.thumb64,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user