mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 13:29:53 +00:00
fix: arena model access control
This commit is contained in:
parent
d5c65e36c9
commit
822a43c53d
@ -102,7 +102,7 @@
|
|||||||
description = model.meta.description;
|
description = model.meta.description;
|
||||||
modelIds = model.meta.model_ids || [];
|
modelIds = model.meta.model_ids || [];
|
||||||
filterMode = model.meta?.filter_mode ?? 'include';
|
filterMode = model.meta?.filter_mode ?? 'include';
|
||||||
accessControl = model.meta?.access_control ?? {};
|
accessControl = 'access_control' in model.meta ? model.meta.access_control : {};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user