@rxap/material-table-system 13.5.0 → 13.5.1

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.
@@ -1983,7 +1983,9 @@ function TableActionMethod(typeOrOptions, checkFunction) {
1983
1983
  }
1984
1984
  return function (target) {
1985
1985
  setMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, options, target);
1986
- setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
1986
+ if (type) {
1987
+ setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
1988
+ }
1987
1989
  if (checkFunction) {
1988
1990
  setMetadata(RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, checkFunction, target);
1989
1991
  }
@@ -2020,7 +2022,7 @@ var TableRowActionStatus;
2020
2022
  })(TableRowActionStatus || (TableRowActionStatus = {}));
2021
2023
 
2022
2024
  function IsTableRowActionTypeSwitchMethod(method) {
2023
- return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type !== undefined;
2025
+ return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type === undefined;
2024
2026
  }
2025
2027
  function IsTableRowActionTypeMethod(type) {
2026
2028
  return (method) => {