IO-134 Prevent doc reassignment with limit
This commit is contained in:
@@ -18,6 +18,7 @@ function JobsDocumentsComponent({
|
||||
billsCallback,
|
||||
totalSize,
|
||||
bodyshop,
|
||||
ignoreSizeLimit,
|
||||
}) {
|
||||
const [galleryImages, setgalleryImages] = useState({ images: [], other: [] });
|
||||
const { t } = useTranslation();
|
||||
@@ -43,6 +44,7 @@ function JobsDocumentsComponent({
|
||||
extension: value.extension,
|
||||
id: value.id,
|
||||
type: value.type,
|
||||
size: value.size,
|
||||
tags: [{ value: value.type, title: value.type }],
|
||||
});
|
||||
} else {
|
||||
@@ -95,6 +97,7 @@ function JobsDocumentsComponent({
|
||||
key: value.key,
|
||||
id: value.id,
|
||||
type: value.type,
|
||||
size: value.size,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -131,6 +134,7 @@ function JobsDocumentsComponent({
|
||||
totalSize={totalSize}
|
||||
billId={billId}
|
||||
callbackAfterUpload={billsCallback || refetch}
|
||||
ignoreSizeLimit={ignoreSizeLimit}
|
||||
/>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
Reference in New Issue
Block a user