diff --git a/src/fireedge/src/client/components/Buttons/ConsoleAction.js b/src/fireedge/src/client/components/Buttons/ConsoleAction.js
index 4d8627bd35..dcc365b205 100644
--- a/src/fireedge/src/client/components/Buttons/ConsoleAction.js
+++ b/src/fireedge/src/client/components/Buttons/ConsoleAction.js
@@ -138,13 +138,11 @@ const PreConsoleButton = memo(
return null
}
- if (isVCenter(vm)) {
- return connectionType === VM_ACTIONS.VMRC ? (
-
- ) : null
+ if (connectionType === VM_ACTIONS.VMRC) {
+ return isVCenter(vm) ? : null
}
- return
+ return !isVCenter(vm) ? : null
}
)