diff --git a/src/utils/components/ActionDropdownItem/ActionDropdownItem.tsx b/src/utils/components/ActionDropdownItem/ActionDropdownItem.tsx index e15fb1c03..66051dbac 100644 --- a/src/utils/components/ActionDropdownItem/ActionDropdownItem.tsx +++ b/src/utils/components/ActionDropdownItem/ActionDropdownItem.tsx @@ -16,7 +16,9 @@ type ActionDropdownItemProps = { const ActionDropdownItem: FC = ({ action, setIsOpen }) => { const { t } = useKubevirtTranslation(); - const [actionAllowed] = useAccessReview(action?.accessReview || {}); + const [accessReview] = useAccessReview(action?.accessReview || {}); + + const actionAllowed = accessReview || action?.accessReview === undefined; const isCloneDisabled = !actionAllowed && action?.id === 'vm-action-clone'; const handleClick = () => {