Skip to content

Commit

Permalink
Merge pull request #12 from KnowWhereGraph/gnis-fix
Browse files Browse the repository at this point in the history
Fix gnis page view
  • Loading branch information
ckfisher authored Oct 21, 2024
2 parents ea3ba5e + 8e2604e commit 2a4b6dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion node-browser/src/app/browse/browse.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export class BrowseComponent implements OnInit {
dataType: '',
});
}
}
// Check to see if the geometry can be sent to the map
if (
predicate.predicate.value ===
Expand All @@ -176,7 +177,6 @@ export class BrowseComponent implements OnInit {
},
});
}
}
});
},
});
Expand Down Expand Up @@ -227,6 +227,9 @@ export class BrowseComponent implements OnInit {
* @returns The full path of the URI
*/
private getFullNodePath(uri: string) {
if(uri.includes("gnis")) {
return uri
}
let prefix = uri.split(':')[0];
let val = this.queryService.prefixes[prefix];
return uri.replace(prefix.concat(':'), val);
Expand Down

0 comments on commit 2a4b6dd

Please sign in to comment.