Browse Source

Fix a problem with the selected state of hosts.

oldj 4 years ago
parent
commit
60982628ff
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/renderer/components/List/index.tsx
  2. 1 1
      src/version.json

+ 1 - 0
src/renderer/components/List/index.tsx

@@ -150,6 +150,7 @@ const List = (props: Props) => {
     }
 
     setCurrentHosts(hosts)
+    setSelectedIds([id])
   }, [hosts_data])
 
   useOnBroadcast(events.reload_list, loadHostsData)

+ 1 - 1
src/version.json

@@ -1 +1 @@
-[4, 0, 1, 6050]
+[4, 0, 1, 6051]