@bindu-dashing/dam-solution-v2 5.8.49 → 5.8.50

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.
@@ -148,7 +148,13 @@ function AssetTemplatesTable({ assetTemplates, totalPages, totalCount, filters =
148
148
  : undefined, sortBy: sortBy, sortOrder: order });
149
149
  onFetchAssetTemplates(updatedFilters);
150
150
  };
151
- return (_jsxs("div", { className: "md-lib-mt-4", children: [_jsx(Table, { columns: columns, dataSource: assetTemplates, loading: { spinning: loading, indicator: _jsx(CustomLoader, {}) }, className: "assetType-table", pagination: totalPages > 1 ? { showSizeChanger: false, total: totalCount } : false, onChange: handleTableChange, scroll: { x: "100%" } }), _jsx(DeleteConfirmationModal, { showDeleteModal: showConfirmPopup, toggleDeleteModal: toggleDeletConfirm, okText: updateAssetId ? DEACTIVATE_OK_TEXT : DELETE_OK_TEXT, onOk: updateAssetId
151
+ return (_jsxs("div", { className: "md-lib-mt-4", children: [_jsx(Table, { columns: columns, dataSource: assetTemplates, loading: { spinning: loading, indicator: _jsx(CustomLoader, {}) }, className: "assetType-table", pagination: totalPages > 1
152
+ ? {
153
+ showSizeChanger: false,
154
+ total: totalCount,
155
+ current: filters.page || DEFAULT_PAGE,
156
+ }
157
+ : false, onChange: handleTableChange, scroll: { x: "100%" } }), _jsx(DeleteConfirmationModal, { showDeleteModal: showConfirmPopup, toggleDeleteModal: toggleDeletConfirm, okText: updateAssetId ? DEACTIVATE_OK_TEXT : DELETE_OK_TEXT, onOk: updateAssetId
152
158
  ? () => onUpdateTemplate({ isActive: false }, get(selectedAsset, "_id"))
153
159
  : onDeleteTemplate, loading: actionLoading, description: DELETE_CONFIRMATION_MESSAGE.replace(":action", updateAssetId ? "deactivate" : "delete").replace(":entity", `${get(selectedAsset, "name", "this asset template")}`), subHeading: updateAssetId
154
160
  ? ""
@@ -117,7 +117,6 @@ const AddDrive = () => {
117
117
  continue;
118
118
  }
119
119
  try {
120
- // Use fetch instead of axios to avoid authorization headers for S3 presigned URL upload
121
120
  yield fetch(fileUrl, {
122
121
  method: "PUT",
123
122
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bindu-dashing/dam-solution-v2",
3
- "version": "5.8.49",
3
+ "version": "5.8.50",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.0.1",
6
6
  "@emoji-mart/data": "^1.2.1",