summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/shared/header/headerController.js
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/ui/shared/header/headerController.js')
-rw-r--r--testapi/opnfv_testapi/ui/shared/header/headerController.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/testapi/opnfv_testapi/ui/shared/header/headerController.js b/testapi/opnfv_testapi/ui/shared/header/headerController.js
index 0a14a41..c998255 100644
--- a/testapi/opnfv_testapi/ui/shared/header/headerController.js
+++ b/testapi/opnfv_testapi/ui/shared/header/headerController.js
@@ -30,7 +30,6 @@
var ctrl = this;
ctrl.isActive = isActive;
- ctrl.isCatalogActive = isCatalogActive;
/** Whether the Navbar is collapsed for small displays. */
ctrl.navbarCollapsed = true;
@@ -50,14 +49,5 @@
}
return false;
}
-
- /** This determines the active state for the catalog dropdown. Type
- * parameter should be passed in to specify if the catalog is the
- * public or user one.
- */
- function isCatalogActive(type) {
- return ctrl.isActive('/' + type + '_vendors')
- || ctrl.isActive('/' + type + '_products');
- }
}
})();