refac
This commit is contained in:
1 parent
ad9fbfc1af
commit
3c54863414
3 files changed
+5
-4
No files matched your search
@@ -346,7 +346,7 @@
|
||||
onChange={async () => {
|
||||
if (edit && model?.id) {
|
||||
try {
|
||||
await updateModelAccessGrants(localStorage.token, model.id, accessGrants);
|
||||
await updateModelAccessGrants(localStorage.token, model.id, model.name ?? name, accessGrants);
|
||||
toast.success($i18n.t('Saved'));
|
||||
} catch (error) {
|
||||
toast.error(error?.detail ?? `${error}`);
|
||||
|
||||
Reference in new issue
Block a user