chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-02-23 01:40:53 -06:00
parent 424dba443c
commit 9044abf3bb
105 changed files with 3884 additions and 661 deletions
+3 -1
View File
@@ -518,7 +518,9 @@
<button
class="self-center w-fit text-sm p-1.5 dark:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
type="button"
aria-label={model?.meta?.hidden ? $i18n.t('Show') : $i18n.t('Hide')}
aria-label={model?.meta?.hidden
? $i18n.t('Show')
: $i18n.t('Hide')}
on:click={(e) => {
e.stopPropagation();
hideModelHandler(model);
@@ -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}`);