fix: arena model access control

This commit is contained in:
Timothy Jaeryang Baek 2024-11-20 06:21:08 -08:00
parent d5c65e36c9
commit 822a43c53d

View File

@ -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 : {};
} }
}; };