IO-3431 Add Tags to Images and Documents
Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
@@ -67,6 +67,7 @@ export function JobsDocumentsLocalGallery({
|
||||
src: val.thumbnail,
|
||||
height: val.thumbnailHeight,
|
||||
width: val.thumbnailWidth,
|
||||
tags: [{ value: val.filename, title: val.filename }],
|
||||
...(val.optimized && { src: val.optimized, fullsize: val.src })
|
||||
});
|
||||
if (val.optimized) optimized = true;
|
||||
@@ -77,7 +78,8 @@ export function JobsDocumentsLocalGallery({
|
||||
src: val.thumbnail,
|
||||
height: val.thumbnailHeight,
|
||||
width: val.thumbnailWidth,
|
||||
tags: [{ value: val.filename, title: val.filename }]
|
||||
tags: [
|
||||
{ value: val.filename, title: val.filename }]
|
||||
});
|
||||
}
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user