@cqa-lib/cqa-ui 1.1.86 → 1.1.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/empty-state/empty-state.component.mjs +4 -1
- package/esm2020/lib/table-action-toolbar/table-action-toolbar.component.mjs +4 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +6 -0
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +6 -0
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/empty-state/empty-state.component.d.ts +1 -0
- package/lib/table-action-toolbar/table-action-toolbar.component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3235,6 +3235,9 @@ class TableActionToolbarComponent {
|
|
|
3235
3235
|
if (action.onClick) {
|
|
3236
3236
|
action.onClick(context);
|
|
3237
3237
|
}
|
|
3238
|
+
else if (action.action) {
|
|
3239
|
+
action.action(context);
|
|
3240
|
+
}
|
|
3238
3241
|
this.actionClick.emit(context);
|
|
3239
3242
|
}
|
|
3240
3243
|
}
|
|
@@ -3522,6 +3525,9 @@ class EmptyStateComponent {
|
|
|
3522
3525
|
if (action.onClick) {
|
|
3523
3526
|
action.onClick();
|
|
3524
3527
|
}
|
|
3528
|
+
else if (action.action) {
|
|
3529
|
+
action.action();
|
|
3530
|
+
}
|
|
3525
3531
|
this.actionClick.emit(action);
|
|
3526
3532
|
}
|
|
3527
3533
|
}
|