Skip to content

Commit

Permalink
Fixed inconsistency in displaying "Not Available" for license details…
Browse files Browse the repository at this point in the history
… in the POI landing page (#557)

* Fixed 556: Inconsistency in displaying Not Available for license details in the POI landing page

* update
  • Loading branch information
Pramit Kumar Dutta authored Jan 19, 2024
1 parent 5c0fca3 commit ead415e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function ProjectDisplay() {
html_url,
} = row;
let licenseName;
if (license) {
if (license && !(license.name === "") && !(license === "null")) {
licenseName = license.name;
} else {
licenseName = "Not Available";
Expand Down

0 comments on commit ead415e

Please sign in to comment.