Skip to content

Commit

Permalink
Merge pull request #1318 from ucdavis/RH/fix-systemid-error
Browse files Browse the repository at this point in the history
fix error if searching system id returns nothing
  • Loading branch information
laholstege authored Sep 25, 2023
2 parents 9d3f66e + ad32974 commit 8c75595
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const EquipmentManagedSystemSearchId = (props: IProps) => {
// if no error occured except Not Found
if (isValidSearch) {
// If listOfComputers' length is not 0 then display the computers, else display an error message
if (listOfComputers.length > 0) {
if (!!listOfComputers && listOfComputers.length > 0) {
return (
<Table>
<tbody>
Expand Down

0 comments on commit 8c75595

Please sign in to comment.