chore: format
This commit is contained in:
@@ -437,7 +437,7 @@
|
||||
...$MODEL_DOWNLOAD_POOL
|
||||
});
|
||||
await deleteModel(localStorage.token, model);
|
||||
toast.success($i18n.t("{{model}} download has been canceled", { model: model }));
|
||||
toast.success($i18n.t('{{model}} download has been canceled', { model: model }));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -514,9 +514,7 @@
|
||||
{:else if (valves_spec.properties[property]?.type ?? null) === 'boolean'}
|
||||
<div class="flex justify-between items-center">
|
||||
<div class="text-xs text-gray-500">
|
||||
{valves[property]
|
||||
? $i18n.t('Enabled')
|
||||
: $i18n.t('Disabled')}
|
||||
{valves[property] ? $i18n.t('Enabled') : $i18n.t('Disabled')}
|
||||
</div>
|
||||
|
||||
<div class=" pr-2">
|
||||
|
||||
@@ -104,7 +104,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
toast.success($i18n.t("Successfully imported {{userCount}} users.", { userCount: userCount }));
|
||||
toast.success(
|
||||
$i18n.t('Successfully imported {{userCount}} users.', { userCount: userCount })
|
||||
);
|
||||
inputFiles = null;
|
||||
const uploadInputElement = document.getElementById('upload-user-csv-input');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user