Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Allow access to about page even with no index patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Dec 2, 2014
1 parent c6a3313 commit c668e88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kibana/utils/routes/_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ define(function (require) {
$rootScope.kibana.ready
])
.then(function () {
if (!$route.current.$$route.originalPath.match(/settings\/indices/)) {
var path = $route.current.$$route.originalPath;
if (!path.match(/settings\/indices/) && !path.match(/settings\/about/)) {
return courier.indexPatterns.getIds()
.then(function (patterns) {
if (!config.get('defaultIndex')) {
Expand Down

0 comments on commit c668e88

Please sign in to comment.