Skip to content

Commit

Permalink
Fix connection settings switch for when the input is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Apr 27, 2022
1 parent ba7bf89 commit 359b52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/components/ClusterDetails/ConnectionSettings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const ConnectionSettings = ({ clusterId, cluster }) => {
return {
...hostSettings,
user,
isDefaultUser: user === hostSettings.default_user,
isDefaultUser: user === hostSettings.default_user || !user,
};
}
return hostSettings;
Expand Down

0 comments on commit 359b52a

Please sign in to comment.