Skip to content

Commit 972452f

Browse files
committed
fix frontend for single route distinguisher
1 parent 96790e4 commit 972452f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const formSubmit = (e) => {
2020
if (router != "all") {
2121
filter.push(`Router=${router}`);
2222
}
23-
if (typeof table !== "undefined" && table != "default") {
23+
if (typeof table === "string" && table != "default" && table != "") {
2424
filter.push(`route_distinguisher=${table}`);
2525
}
2626
if (filter.length > 0) {

0 commit comments

Comments
 (0)