Add batch actions to local user table
Add ability to remove, enable, disable local users in bulk.
- Updates to table-actions component to fix flickering issue
by including track by $index in ng-repeat
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I67039e9b9d9cf7debe9f6ef87e71210bd4b64251
diff --git a/app/users/controllers/user-accounts-controller.html b/app/users/controllers/user-accounts-controller.html
index 9577196..31ba62d 100644
--- a/app/users/controllers/user-accounts-controller.html
+++ b/app/users/controllers/user-accounts-controller.html
@@ -26,7 +26,10 @@
data="tableData"
header="tableHeader"
row-actions-enabled="true"
+ selectable="true"
+ batch-actions="tableBatchActions"
emit-row-action="onEmitRowAction(value)"
+ emit-batch-action="onEmitBatchAction(value)"
class="local-users__table">
</bmc-table>
</div>