From ed9c9e83995bd608b4470646f1637cf4a9be3737 Mon Sep 17 00:00:00 2001 From: Amy Chen Date: Fri, 7 Feb 2025 06:07:09 -0800 Subject: [PATCH] add query info text per feedback (#19) Co-authored-by: Amy Chen --- .../src/components/FindPatients/Panels/PanelGroupColumn.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui-client/src/components/FindPatients/Panels/PanelGroupColumn.tsx b/src/ui-client/src/components/FindPatients/Panels/PanelGroupColumn.tsx index e1ebac7ee..dede22eaf 100644 --- a/src/ui-client/src/components/FindPatients/Panels/PanelGroupColumn.tsx +++ b/src/ui-client/src/components/FindPatients/Panels/PanelGroupColumn.tsx @@ -98,6 +98,11 @@ class PanelGroupColumn extends React.Component { } } + public renderQueryInfo(queryState : string) { + if (queryState !== CohortStateType.NOT_LOADED) return null; + return
( To query, drag and drop concepts into boxes below )
+ } + public render() { const { dispatch, panels, panelFilters, queryState } = this.props; return ( @@ -107,6 +112,7 @@ class PanelGroupColumn extends React.Component { {this.setRunQueryButtonContent()} + {this.renderQueryInfo(queryState)}