diff options
Diffstat (limited to 'app/common/components/table/table.html')
| -rw-r--r-- | app/common/components/table/table.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/common/components/table/table.html b/app/common/components/table/table.html index 6ec520c..b40c346 100644 --- a/app/common/components/table/table.html +++ b/app/common/components/table/table.html @@ -19,13 +19,12 @@ {{item}} </td> <!-- Row Actions --> - <td ng-if="$ctrl.model.actions.length > 0" + <td ng-if="$ctrl.rowActionsEnabled" class="bmc-table__cell bmc-table__row-actions"> - <button ng-repeat="action in $ctrl.model.actions" - ng-click="$ctrl.onClickAction(action, row);" - class="btn btn-tertiary"> - {{action}} - </button> + <table-actions + actions="row.actions" + emit-action="$ctrl.onEmitTableAction(action, row)"> + </table-actions> </td> </tr> <!-- Empty table --> |

