Skip to content

Commit

Permalink
Removed hardcoded path (UI)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Aug 29, 2023
1 parent 245d388 commit 472ac63
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/src/actions/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ export function sendDisplayImage(path, imgNum) {
)
.then((response) => response.json())
.then((data) => {
let braggyPath = data.path.replace('/data/visitor/', '');
braggyPath = braggyPath.split('/').slice(1).join('/');
window.open(
`https://braggy.mxcube3.esrf.fr/?file=${braggyPath}/image_${data.img_num}.h5.dataset`,
'braggy',
Expand Down

0 comments on commit 472ac63

Please sign in to comment.