Updated data test subject to use correct property from item object. (#20794) (#20797)

This commit is contained in:
John Dorlus 2018-07-16 16:16:40 -04:00 committed by GitHub
parent 5d1ea11b29
commit c50c6fc6b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@
ng-repeat="item in section.visibleItems"
>
<a
data-test-subj="{{::item.name}}"
data-test-subj="{{::item.id}}"
class="euiLink euiLink--primary management-panel__link"
ng-class="{ 'management-panel__link--disabled': item.disabled || !item.url }"
kbn-href="{{::item.disabled ? '' : item.url}}"