mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
fix: credential item style
This commit is contained in:
parent
134dfe7c9b
commit
2f3d09c1ca
@ -92,10 +92,10 @@ const CredentialItem = ({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
showAction && (
|
showAction && !credential.from_enterprise && (
|
||||||
<div className='ml-2 hidden shrink-0 items-center group-hover:flex'>
|
<div className='ml-2 hidden shrink-0 items-center group-hover:flex'>
|
||||||
{
|
{
|
||||||
!disableEdit && !credential.not_allowed_to_use && !credential.from_enterprise && (
|
!disableEdit && !credential.not_allowed_to_use && (
|
||||||
<Tooltip popupContent={t('common.operation.edit')}>
|
<Tooltip popupContent={t('common.operation.edit')}>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
@ -110,7 +110,7 @@ const CredentialItem = ({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
!disableDelete && !credential.from_enterprise && (
|
!disableDelete && (
|
||||||
<Tooltip popupContent={disableDeleteWhenSelected ? disableDeleteTip : t('common.operation.delete')}>
|
<Tooltip popupContent={disableDeleteWhenSelected ? disableDeleteTip : t('common.operation.delete')}>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
className='hover:bg-transparent'
|
className='hover:bg-transparent'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user