Skip to content

Commit 8e2604e

Browse files
committed
Fix gnis page view
1 parent d402574 commit 8e2604e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

node-browser/src/app/browse/browse.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export class BrowseComponent implements OnInit {
150150
dataType: '',
151151
});
152152
}
153+
}
153154
// Check to see if the geometry can be sent to the map
154155
if (
155156
predicate.predicate.value ===
@@ -176,7 +177,6 @@ export class BrowseComponent implements OnInit {
176177
},
177178
});
178179
}
179-
}
180180
});
181181
},
182182
});
@@ -227,6 +227,9 @@ export class BrowseComponent implements OnInit {
227227
* @returns The full path of the URI
228228
*/
229229
private getFullNodePath(uri: string) {
230+
if(uri.includes("gnis")) {
231+
return uri
232+
}
230233
let prefix = uri.split(':')[0];
231234
let val = this.queryService.prefixes[prefix];
232235
return uri.replace(prefix.concat(':'), val);

0 commit comments

Comments
 (0)