Skip to content

Commit

Permalink
Remove AppState from edit_index_pattern page
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Jan 13, 2020
1 parent f3cdbf2 commit 37e01a0
Show file tree
Hide file tree
Showing 2 changed files with 218 additions and 134 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
<button
class="kuiTab"
ng-repeat="editSection in editSections"
ng-class="{ 'kuiTab-isSelected': state.tab === editSection.index }"
ng-click="changeTab(editSection)"
ng-class="{ 'kuiTab-isSelected': getCurrentTab() === editSection.index }"
ng-click="setCurrentTab(editSection.index)"
data-test-subj="tab-{{ editSection.index }}"
>
{{ editSection.title }}
Expand Down Expand Up @@ -120,7 +120,7 @@

<div
class="kuiFieldGroupSection"
ng-if="state.tab == 'indexedFields' && indexedFieldTypes.length > 0"
ng-if="getCurrentTab() == 'indexedFields' && indexedFieldTypes.length > 0"
>
<select
data-test-subj="indexedFieldTypeFilterDropdown"
Expand All @@ -137,7 +137,7 @@

<div
class="kuiFieldGroupSection"
ng-if="state.tab == 'scriptedFields' && scriptedFieldLanguages.length > 0"
ng-if="getCurrentTab() == 'scriptedFields' && scriptedFieldLanguages.length > 0"
>
<select
data-test-subj="scriptedFieldLanguageFilterDropdown"
Expand Down
Loading

0 comments on commit 37e01a0

Please sign in to comment.