chore: format
This commit is contained in:
@@ -335,7 +335,12 @@
|
||||
onChange={async () => {
|
||||
if (edit && model?.id) {
|
||||
try {
|
||||
await updateModelAccessGrants(localStorage.token, model.id, model.name ?? name, 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