From 14d41d06a6a862fa303d701e0a6bb88e09ba5598 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Thu, 15 Apr 2021 15:54:29 +0100 Subject: [PATCH] Add link rule on baseMount for type "transit". --- src/pageUtils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pageUtils.js b/src/pageUtils.js index 8ddc42d..6d7842f 100644 --- a/src/pageUtils.js +++ b/src/pageUtils.js @@ -64,8 +64,10 @@ export function setTitleElement(pageState) { if (pageState.currentMountType.startsWith("kv") || pageState.currentMountType == "cubbyhole") { changePage(pages.KEY_VALUE_VIEW); - } else { + } else if (pageState.currentMountType == "totp"){ changePage(pages.TOTP); + } else if (pageState.currentMountType == "transit") { + changePage(pages.TRANSIT_VIEW); } } }),