IO-1096 Added order by to Parts Order

This commit is contained in:
Patrick Fic
2021-06-02 08:49:10 -07:00
parent 28326f2628
commit 9ff9baa78c
29 changed files with 461 additions and 47 deletions

View File

@@ -2,7 +2,7 @@ import { DetermineFileType } from "../documents-upload/documents-upload.utility"
export const GenerateSrcUrl = (value) => {
let extension = value.extension;
if (extension && extension.includes("heic")) extension = "jpg";
if (extension && extension.toLowerCase().includes("heic")) extension = "jpg";
return `${process.env.REACT_APP_CLOUDINARY_ENDPOINT}/${DetermineFileType(
value.type