Skip to content
Snippets Groups Projects
Commit bd355c9f authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Reloading the window does the trick

parent d53ba674
No related branches found
No related tags found
1 merge request!1293WS1492 - Show latest version after creation
Pipeline #9241 passed
......@@ -98,6 +98,8 @@ export class CreateNewVersionFormComponent implements OnInit {
if (this.inputFileList) {
this.capabilityRequestService.addFilesToVersion(idString, this.inputFileList);
}
// Refresh the window to load the new version
window.location.reload();
},
error: (error) => alert("Error when creating new version:" + error),
};
......
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