CI: add TS indentation check via esLint (#24810)

This commit is contained in:
Yongtao Huang 2025-09-01 15:31:59 +08:00 • committed by GitHub
commit 208ce4e774
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
118 changed files with 457 additions and 489 deletions

View file

@ -60,9 +60,9 @@ const AddCredentialInLoadBalancing = ({
asChild
popupContent={t('plugin.auth.credentialUnavailable')}
>
{Item}
</Tooltip>
)
{Item}
</Tooltip>
)
}
return Item
}, [notAllowCustomCredential, t, customModel])

View file

@ -176,11 +176,11 @@ const Authorized = ({
onClick={() => handleEdit(
undefined,
currentCustomConfigurationModelFixedFields
? {
model: currentCustomConfigurationModelFixedFields.__model_name,
model_type: currentCustomConfigurationModelFixedFields.__model_type,
}
: undefined,
? {
model: currentCustomConfigurationModelFixedFields.__model_name,
model_type: currentCustomConfigurationModelFixedFields.__model_type,
}
: undefined,
)}
className='system-xs-medium flex h-[30px] cursor-pointer items-center px-3 text-text-accent-light-mode-only'
>