mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Add flag to remove management link from saved-object-finder if redundant.
Closes #7980
This commit is contained in:
parent
3e2fee281a
commit
1b78afb269
2 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,9 @@ module.directive('savedObjectFinder', function ($location, $injector, kbnUrl, Pr
|
|||
// optional make-url attr, sets the userMakeUrl in our scope
|
||||
userMakeUrl: '=?makeUrl',
|
||||
// optional on-choose attr, sets the userOnChoose in our scope
|
||||
userOnChoose: '=?onChoose'
|
||||
userOnChoose: '=?onChoose',
|
||||
// optional useLocalManagement attr, removes link to management section
|
||||
useLocalManagement: '=?useLocalManagement'
|
||||
},
|
||||
template: savedObjectFinderTemplate,
|
||||
controllerAs: 'finder',
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<div class="finder-hit-count col-md-2">
|
||||
<span>{{finder.hitCount}} of {{finder.hitCount}}</span>
|
||||
</div>
|
||||
<div class="finder-manage-object col-md-2">
|
||||
<div class="finder-manage-object col-md-2" ng-if="!useLocalManagement">
|
||||
<a class="small" ng-click="finder.manageObjects(finder.properties.name)">
|
||||
Manage {{finder.properties.nouns}}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue