Skip to content

Commit

Permalink
[ACA-4728] address comment - remove reduntant if
Browse files Browse the repository at this point in the history
  • Loading branch information
g-jaskowski committed Apr 4, 2024
1 parent 4a91aa6 commit 0783b01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class ViewerService {
}
this.sort(entries, sortKey, sortDirection);
}
return nodes === undefined ? [] : entries.map((entry) => entry.id ?? entry.nodeId);
return entries.map((entry) => entry.id ?? entry.nodeId);
}

/**
Expand Down

0 comments on commit 0783b01

Please sign in to comment.