Skip to content

Commit

Permalink
Hide context link for non-time-based index patterns
Browse files Browse the repository at this point in the history
The link is hidden for index patterns that do not have a time field
defined, because the entry context view is designed to allow viewing the
surrounding entries with respect to a time ordering.
  • Loading branch information
weltenwort committed Nov 23, 2016
1 parent 2acc123 commit 4991bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/public/doc_table/components/table_row/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<a
class="btn btn-default btn-xs documentTableRow__action"
ng-href="{{ getContextAppHref() }}"
ng-if="indexPattern.hasTimeField()"
>
<i class="fa fa-files-o" />
View surrounding entries
Expand Down

0 comments on commit 4991bd8

Please sign in to comment.