@iapps/ng-dhis2-ui 1.1.70 → 1.1.71

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.
@@ -4333,6 +4333,9 @@ class LineListTableComponent extends ReactWrapperModule {
4333
4333
  React__default.createElement(DataTableRow, null, columns.map((col) => (React__default.createElement(DataTableColumnHeader, { key: col.key }, col.label))))),
4334
4334
  React__default.createElement(TableBody, null, data.length > 0 ? (data.map((row) => (React__default.createElement(DataTableRow, { key: row.index }, columns.map((col) => (React__default.createElement(DataTableCell, { key: col.key }, col.key === 'actions'
4335
4335
  ? this.actionOptions && (React__default.createElement(DataTableActions, { actionOptions: this.actionOptions, actionOptionOrientation: this.actionOptionOrientation, onClick: (option) => {
4336
+ if (option.onClick) {
4337
+ option.onClick(row);
4338
+ }
4336
4339
  this.actionSelected.emit({
4337
4340
  action: option.label,
4338
4341
  row,
@@ -4464,6 +4467,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImpor
4464
4467
  // Use of this source code is governed by a BSD-style
4465
4468
  // license that can be found in the LICENSE file.
4466
4469
 
4470
+ // Copyright 2025 UDSM DHIS2 Lab. All rights reserved.
4471
+ // Use of this source code is governed by a BSD-style
4472
+ // license that can be found in the LICENSE file.
4473
+
4467
4474
  const dropdownStyles = {
4468
4475
  layer: {
4469
4476
  zIndex: '1 !important',