FNNDSC / ChRIS_ui

UI for ChRIS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PACS Query result buttons broken

jennydaman opened this issue · comments

image

After a PACS series is pulled, two buttons are presented on hover: "Created Feed" and "Preview"

<div
className="action-button-container hover"
style={{ display: "flex", flexFlow: "row", flexWrap: "wrap" }}
>
<Tooltip content="Click to create a new feed with this series">
<Button
variant="primary"
style={{ fontSize: "small", margin: "auto" }}
onClick={() => createFeed([cubeSeriesPath])}
>
<FaCodeBranch /> <b>Create Feed</b>
</Button>
</Tooltip>
<Button
variant="secondary"
style={{ fontSize: "small", margin: "auto" }}
onClick={() => setOpenSeriesPreview(true)}
>
<FaEye /> <b>Preview</b>
</Button>
</div>

Both of these buttons are currently broken.

Create Feed Button

Clicking on this button does nothing. In the console you get

Uncaught TypeError: createFeed is not a function

This has been broken since #628. The last working build is ghcr.io/fnndsc/chris_ui:20220909.95-59fad388

Preview

image

Does not show anything. I did not dig into this bug.