ability to add more actions
This commit is contained in:
@@ -28,9 +28,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="umb-control-group">
|
||||
<div class="umb-control-group" ng-if="vm.enableSearh">
|
||||
<umb-tree-search-box
|
||||
ng-if="vm.enableSearh"
|
||||
hide-search-callback="vm.hideSearch"
|
||||
search-callback="vm.onSearchResults"
|
||||
search-from-id="{{vm.searchInfo.searchFromId}}"
|
||||
@@ -96,6 +95,15 @@
|
||||
action="vm.close()">
|
||||
</umb-button>
|
||||
|
||||
<umb-button
|
||||
ng-if="model.extraActions"
|
||||
ng-repeat="action in model.extraActions track by $index"
|
||||
type="button"
|
||||
button-style="{{action.style || 'link'}}"
|
||||
label-key="{{action.labelKey}}"
|
||||
action="action.action()">
|
||||
</umb-button>
|
||||
|
||||
<umb-button
|
||||
ng-if="vm.multiPicker"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user