checker-fi
Some checks failed
Deploy on push / deploy (push) Failing after 5s

This commit is contained in:
2025-07-25 11:05:42 +03:00
parent bceb311910
commit b40e0498cf
2 changed files with 6 additions and 6 deletions

View File

@@ -288,13 +288,17 @@ const UserEditModal: Component<UserEditModalProps> = (props) => {
background: isAdminRole && isSelected ? 'rgba(245, 158, 11, 0.1)' : undefined,
border: isAdminRole && isSelected ? '1px solid rgba(245, 158, 11, 0.3)' : undefined
}}
onClick={() => !isDisabled && handleRoleToggle(role.id)} // Добавляем обработчик клика
>
<input
type="checkbox"
checked={isSelected}
onChange={() => handleRoleToggle(role.id)}
disabled={loading() || isDisabled}
style={{ display: 'none' }}
style={{
cursor: isDisabled ? 'not-allowed' : 'pointer',
margin: '0 0.5rem 0 0'
}}
/>
<div class={formStyles.roleHeader}>
<span class={formStyles.roleName}>

View File

@@ -138,11 +138,7 @@ const AuthorsRoute: Component<AuthorsRouteProps> = (props) => {
}
}
return (
<span title={props.role}>
{getRoleIcon(props.role)} {props.role}
</span>
)
return <span title={props.role}>{getRoleIcon(props.role)}</span>
}
return (