Browse Source

Fix a problem with the selected state of hosts.

oldj 4 năm trước cách đây
mục cha
commit
60982628ff
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  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]