Skip to content

Commit

Permalink
WIP - cleanup...
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Sep 11, 2024
1 parent 4f90306 commit 1f04970
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
7 changes: 0 additions & 7 deletions pkg/shell/hosts_dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ class NotSupported extends React.Component {
}
}

export const CrossMachineWarning = () => {
return <Alert variant='warning'
isInline
isPlain
title={_("Malicious pages on a remote machine may affect other connected hosts")} />;
};

class Connect extends React.Component {
constructor(props) {
super(props);
Expand Down
5 changes: 1 addition & 4 deletions pkg/shell/indexes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 1f04970

Please sign in to comment.