Skip to content

Commit

Permalink
fix frontend for single route distinguisher
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyuyureka committed Dec 23, 2024
1 parent 96790e4 commit 972452f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const formSubmit = (e) => {
if (router != "all") {
filter.push(`Router=${router}`);
}
if (typeof table !== "undefined" && table != "default") {
if (typeof table === "string" && table != "default" && table != "") {
filter.push(`route_distinguisher=${table}`);
}
if (filter.length > 0) {
Expand Down

0 comments on commit 972452f

Please sign in to comment.