IO-2039 LMS support for non media files.
This commit is contained in:
@@ -69,7 +69,10 @@ export function JobsDocumentsLocalGallery({
|
||||
) {
|
||||
acc.images.push(val);
|
||||
} else {
|
||||
acc.other.push(val);
|
||||
acc.other.push({
|
||||
...val,
|
||||
tags: [{ value: val.filename, title: val.filename }],
|
||||
});
|
||||
}
|
||||
return acc;
|
||||
},
|
||||
@@ -104,6 +107,7 @@ export function JobsDocumentsLocalGallery({
|
||||
job={job}
|
||||
invoice_number={invoice_number}
|
||||
vendorid={vendorid}
|
||||
allowAllTypes
|
||||
/>
|
||||
</Card>
|
||||
<Card title={t("jobs.labels.documents-images")}>
|
||||
|
||||
Reference in New Issue
Block a user