Skip to content

Commit

Permalink
Fix the problem of incomplete list in group. #566 #584
Browse files Browse the repository at this point in the history
  • Loading branch information
oldj committed May 9, 2021
1 parent 618b636 commit bac4a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/EditHostsInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const EditHostsInfo = () => {
const list = hostsFn.flatten(hosts_data.list)

let source_list: IHostsListObject[] = list
.filter(item => item.type === 'local' || item.type === 'remote')
.filter(item => !item.type || item.type === 'local' || item.type === 'remote')
.map(item => {
let o = { ...item }
o.key = o.id
Expand Down

0 comments on commit bac4a6a

Please sign in to comment.