Skip to content

Commit 0872c64

Browse files
committed
Fixes #717
1 parent 3b16d6e commit 0872c64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/components/User.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ export const User = ({user, other, config, currentUser}) => {
9393
}
9494
const queryApplicationLower = queryApplication.toLowerCase();
9595

96-
return application.organizationName.toLowerCase().indexOf(queryApplicationLower) > -1 ||
97-
application.name.toLowerCase().indexOf(queryApplicationLower) > -1
96+
return (application.organizationName || "").toLowerCase().indexOf(queryApplicationLower) > -1 ||
97+
(application.name || "").toLowerCase().indexOf(queryApplicationLower) > -1
9898
};
9999

100100
const renderApplication = (application, index) => {

0 commit comments

Comments
 (0)