mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
Merge pull request #17819 from silentoplayz/fix-layout-and-i18n
fix: i81n.t and correct button layout issue
This commit is contained in:
commit
1283a8ce79
2 changed files with 2 additions and 2 deletions
|
|
@ -296,7 +296,7 @@
|
|||
<div
|
||||
class="flex justify-between flex-col sm:flex-row items-start sm:items-center gap-2 mt-2"
|
||||
>
|
||||
<div class="flex-1 shrink-0">
|
||||
<div class="shrink-0">
|
||||
<button
|
||||
type="button"
|
||||
class="px-3.5 py-1.5 text-sm font-medium bg-gray-50 hover:bg-gray-100 text-gray-900 dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-gray-200 transition rounded-lg shrink-0 {($settings?.highContrastMode ??
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
const onSubmit = async (modelInfo) => {
|
||||
if ($models.find((m) => m.id === modelInfo.id)) {
|
||||
toast.error(
|
||||
i18n.t(
|
||||
$i18n.t(
|
||||
"Error: A model with the ID '{{modelId}}' already exists. Please select a different ID to proceed.",
|
||||
{ modelId: modelInfo.id }
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue