From 1f04970aa2ff630641fc586bafdd5c06d3078911 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Wed, 11 Sep 2024 13:23:53 +0300 Subject: [PATCH] WIP - cleanup... --- pkg/shell/hosts_dialog.jsx | 7 ------- pkg/shell/indexes.jsx | 5 +---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pkg/shell/hosts_dialog.jsx b/pkg/shell/hosts_dialog.jsx index b60d8ed89a6..d2d72454e58 100644 --- a/pkg/shell/hosts_dialog.jsx +++ b/pkg/shell/hosts_dialog.jsx @@ -104,13 +104,6 @@ class NotSupported extends React.Component { } } -export const CrossMachineWarning = () => { - return ; -}; - class Connect extends React.Component { constructor(props) { super(props); diff --git a/pkg/shell/indexes.jsx b/pkg/shell/indexes.jsx index fd1b14aa693..3c9441d2d1b 100644 --- a/pkg/shell/indexes.jsx +++ b/pkg/shell/indexes.jsx @@ -189,10 +189,7 @@ function MachinesIndex(index_options, machines, loader) { function trigger_connection_flow(machine) { if (window.trigger_connection_flow) { - if (machine.state != "connected" && machine.state != "connecting") { - index.frames.remove(machine); - window.trigger_connection_flow(machine); - } + window.trigger_connection_flow(machine); } }