diff --git a/src/client/components/main_layout/PerspectiveTabs.js b/src/client/components/main_layout/PerspectiveTabs.js
index 70bca388a4f94c81aa3be32ce70c1f8c1d208c97..563ffbc6d8878f46e57e6872faeeb71be3719d3e 100644
--- a/src/client/components/main_layout/PerspectiveTabs.js
+++ b/src/client/components/main_layout/PerspectiveTabs.js
@@ -36,7 +36,14 @@ class PerspectiveTabs extends React.Component {
   }
 
   pathnameToValue = pathname => {
-    return has(this.props.tabs, pathname) ? this.props.tabs[pathname].value : 0;
+    const activeID = pathname.split('/').pop();
+    let value = 0;
+    this.props.tabs.map(tab => {
+      if (tab.id == activeID) {
+        value = tab.value;
+      }
+    });
+    return value;
   }
 
   renderIcon = iconString => {