Skip to content

Commit

Permalink
Merge pull request #676 from SynBioHub/urlimportbug
Browse files Browse the repository at this point in the history
Urlimportbug
  • Loading branch information
danielfang97 authored Jun 9, 2024
2 parents 6238315 + 4b214d6 commit 42c7c3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/commitHash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
530ea786424d2c7c88e0302a2930132f29c79883
6238315c3165b4b56b39662e692e283f325ee006

0 comments on commit 42c7c3c

Please sign in to comment.