Skip to content

Commit

Permalink
fixed: Interpolation dollar signs showing around completion status
Browse files Browse the repository at this point in the history
This was a bug introduced during a PR review when the completion status display code was refactored.
  • Loading branch information
dougmartin committed Oct 17, 2023
1 parent 43024c1 commit b7a44b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion researcher-reports/src/components/query-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const QueryItem: React.FC<IProps> = (props) => {
{resourceName && <div className="item-info">{`Name: ${resourceName}`}</div>}
{resourceType && <div className="item-info">{`Type: ${resourceType}`}</div>}
<div className="item-info">{`Creation date: ${submissionDateTime}`}</div>
<div className="item-info">Completion status: <span className={lowerQueryCompletionStatus}>${lowerQueryCompletionStatus}${completionStatusSuffix}</span></div>
<div className="item-info">Completion status: <span className={lowerQueryCompletionStatus}>{lowerQueryCompletionStatus}{completionStatusSuffix}</span></div>
{ showGenerateCSVLinkButton
? <button onClick={handleGetSignedDownloadLink} disabled={!succeeded}>Generate CSV Download Link</button>
: <>
Expand Down

0 comments on commit b7a44b9

Please sign in to comment.