瀏覽代碼

Fixed the model-modal titles not being clearly distinguished between "Add" and "Setup" (#17634)

tags/1.2.0
Lao 6 月之前
父節點
當前提交
106604682a
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      web/app/components/header/account-setting/model-provider-page/model-modal/index.tsx

+ 1
- 2
web/app/components/header/account-setting/model-provider-page/model-modal/index.tsx 查看文件

@@ -270,8 +270,7 @@ const ModelModal: FC<ModelModalProps> = ({
}

const renderTitlePrefix = () => {
const prefix = configurateMethod === ConfigurationMethodEnum.customizableModel ? t('common.operation.add') : t('common.operation.setup')

const prefix = isEditMode ? t('common.operation.setup') : t('common.operation.add')
return `${prefix} ${provider.label[language] || provider.label.en_US}`
}


Loading…
取消
儲存