diff --git a/frontend/components/Viewing/Sections/Attachments/AttachmentRows.js b/frontend/components/Viewing/Sections/Attachments/AttachmentRows.js index 1802e3e6..4d122997 100644 --- a/frontend/components/Viewing/Sections/Attachments/AttachmentRows.js +++ b/frontend/components/Viewing/Sections/Attachments/AttachmentRows.js @@ -12,6 +12,7 @@ import { downloadFiles } from '../../../../redux/actions'; import { faDownload, faTrashAlt } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { getAfterThirdSlash } from '../../ViewHeader.js'; const { publicRuntimeConfig } = getConfig(); import getConfig from 'next/config'; @@ -31,7 +32,7 @@ export default function AttachmentRows(properties) { const [attachments, setAttachments] = useState(properties.attachments.map(attachment => ({ ...attachment, processedTopLevel: attachment.topLevel // Initialize with topLevel -}))); + }))); //There are attachments from the parent but they haven't been added to the state yet. if (attachmentInfo === undefined && properties.attachments.length > 0) diff --git a/frontend/public/commitHash.txt b/frontend/public/commitHash.txt index feae3f85..82a2091d 100644 --- a/frontend/public/commitHash.txt +++ b/frontend/public/commitHash.txt @@ -1 +1 @@ -530ea786424d2c7c88e0302a2930132f29c79883 \ No newline at end of file +6238315c3165b4b56b39662e692e283f325ee006 \ No newline at end of file