refac
This commit is contained in:
1 parent
148283f974
commit
5cecb7dbfa
1 file changed
+1
-1
@@ -182,7 +182,7 @@ async def get_all_models(request, refresh: bool = False, user: UserModel = None)
|
|||||||
model['action_ids'] = action_ids
|
model['action_ids'] = action_ids
|
||||||
model['filter_ids'] = filter_ids
|
model['filter_ids'] = filter_ids
|
||||||
else:
|
else:
|
||||||
models.remove(model)
|
models = [m for m in models if m is not model]
|
||||||
|
|
||||||
elif custom_model.is_active:
|
elif custom_model.is_active:
|
||||||
if custom_model.id in existing_ids:
|
if custom_model.id in existing_ids:
|
||||||
|
|||||||
Reference in new issue
Block a user