Skip to content

Commit

Permalink
sanity check against hostnames in server list
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Dec 4, 2023
1 parent c6bf9ef commit 70146c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ export const sortAndSearchInServerList = (
ompCheck &&
unpasswordedCheck &&
nonEmptyCheck &&
server.hostname &&
server.hostname.toLowerCase().includes(query.toLowerCase())
);
});
Expand Down

0 comments on commit 70146c6

Please sign in to comment.