From 972452fdeddc41178ea763238c25700545484b76 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 23 Dec 2024 21:09:08 +0100 Subject: [PATCH] fix frontend for single route distinguisher --- frontend/src/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/search.js b/frontend/src/search.js index 9970fba..18eaceb 100644 --- a/frontend/src/search.js +++ b/frontend/src/search.js @@ -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) {