Skip to content

Commit

Permalink
fix: disable actions menu for kustomizations
Browse files Browse the repository at this point in the history
  • Loading branch information
devcatalin committed Sep 10, 2021
1 parent d875bbc commit 08fd690
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {isOutgoingRef, isIncomingRef, isUnsatisfiedRef} from '@redux/services/re
import {isUnsavedResource} from '@redux/services/resource';
import ScrollIntoView from '@molecules/ScrollIntoView';
import {isInPreviewModeSelector} from '@redux/selectors';
import {isKustomizationResource} from '@redux/services/kustomize';
import ActionsMenu from './ActionsMenu';

const {Text} = Typography;
Expand Down Expand Up @@ -366,7 +367,7 @@ const NavigatorRowLabel = (props: NavigatorRowLabelProps) => {
</StyledIconsContainer>
</Popover>
)}
{isHovered && (
{!isKustomizationResource(resource) && isHovered && (
<StyledMenuToggle>
<Dropdown
overlay={
Expand Down

0 comments on commit 08fd690

Please sign in to comment.