mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Use ng-if instead of ng-hide to hide/reveal Table action buttons in Dashboard listing.
This commit is contained in:
parent
880b7b42f0
commit
668d598082
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
class="kuiButton kuiButton--danger"
|
||||
ng-click="listingController.deleteSelectedItems()"
|
||||
aria-label="Delete selected objects"
|
||||
ng-hide="listingController.getSelectedItemsCount() === 0"
|
||||
ng-if="listingController.getSelectedItemsCount() > 0"
|
||||
tooltip="Delete selected dashboards"
|
||||
>
|
||||
<span aria-hidden="true" class="kuiButton__icon kuiIcon fa-trash"></span>
|
||||
|
@ -49,7 +49,7 @@
|
|||
href="#/dashboard/create"
|
||||
aria-label="Create new dashboard"
|
||||
data-test-subj="newDashboardLink"
|
||||
ng-hide="listingController.getSelectedItemsCount() > 0"
|
||||
ng-if="listingController.getSelectedItemsCount() === 0"
|
||||
tooltip="Create new dashboard"
|
||||
>
|
||||
<span aria-hidden="true" class="kuiButton__icon kuiIcon fa-plus"></span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue