Skip to content
Snippets Groups Projects
Commit 964aec10 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

set new file link

parent 550aa63b
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class CorrectSolutionForm extends Component {
const relevantDocument = relevantDocuments.slice(-1)[0];
let fileLink;
if (relevantDocument && relevantDocument.file) {
fileLink = `/media${relevantDocument.file.split('media')[1]}`;
fileLink = `${relevantDocument.file}`;
} else {
fileLink = null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment