Преглед изворни кода

Fix a problem with the selected state of hosts.

oldj пре 4 година
родитељ
комит
60982628ff
2 измењених фајлова са 2 додато и 1 уклоњено
  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]