Align compare navbar state mapping with MAP and PERFORMANCE tabs

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
2026-03-08 18:58:01 +08:00
parent f567e86898
commit 0948a82eb5
4 changed files with 14 additions and 6 deletions

View File

@@ -325,9 +325,11 @@ function getNavViewName() {
break;
case "COMPARE":
switch (name) {
case "dummy":
case "MapCompare":
valueToSet = "MAP";
break;
case "CompareDashboard":
valueToSet = "DASHBOARD";
valueToSet = "PERFORMANCE";
break;
default:
break;