fix: direct model access control

This commit is contained in:
Timothy Jaeryang Baek
2026-02-13 14:39:01 -06:00
parent 370a677a38
commit f027a01ab2
2 changed files with 25 additions and 4 deletions
@@ -349,7 +349,7 @@
await updateModelAccessGrants(localStorage.token, model.id, accessGrants);
toast.success($i18n.t('Saved'));
} catch (error) {
toast.error(`${error}`);
toast.error(error?.detail ?? `${error}`);
}
}
}}