@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
|
@@ -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.
|
|
354
|
+
fileList={fileLists[`${selectedCategory.Data.CategoryId}_${question.Id}`] || []}
|
|
355
355
|
beforeUpload={() => false} // Prevent automatic upload
|
|
356
|
-
onChange={({ fileList }) => handleFileChange(fileList, selectedCategory.Data.CategoryId, question.
|
|
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>
|