Skip to content

Commit 6098262

Browse files
committed
Fix a problem with the selected state of hosts.
1 parent a2a4a14 commit 6098262

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/renderer/components/List/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ const List = (props: Props) => {
150150
}
151151

152152
setCurrentHosts(hosts)
153+
setSelectedIds([id])
153154
}, [hosts_data])
154155

155156
useOnBroadcast(events.reload_list, loadHostsData)

src/version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[4, 0, 1, 6050]
1+
[4, 0, 1, 6051]

0 commit comments

Comments
 (0)