@omniumretail/component-library 1.1.89 → 1.1.90

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.1.89",
3
+ "version": "1.1.90",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -351,9 +351,9 @@ export const CategoryResponse = React.forwardRef((props: CategoryResponse, ref)
351
351
  <div className={styles.actionsButtonsContainer}>
352
352
  <Upload
353
353
  listType={"text"}
354
- fileList={fileLists[`${selectedCategory.Data.CategoryId}_${question.QuestionId}`] || []}
354
+ fileList={fileLists[`${selectedCategory.Data.CategoryId}_${question.Id}`] || []}
355
355
  beforeUpload={() => false} // Prevent automatic upload
356
- onChange={({ fileList }) => handleFileChange(fileList, selectedCategory.Data.CategoryId, question.QuestionId)}
356
+ onChange={({ fileList }) => handleFileChange(fileList, selectedCategory.Data.CategoryId, question.Id)}
357
357
  onPreview={onPreview}
358
358
  >
359
359
  <Button customClass={styles.loadFile}>{t('components.upload.loadFile')}</Button>