From d911d196c65d5ebb752ca71c38c522a7d4684a82 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Wed, 16 Oct 2024 12:11:47 -0400 Subject: [PATCH] change some copy --- query-connector/next-env.d.ts | 2 +- .../src/app/query/components/CustomizeQuery.tsx | 2 +- query-connector/src/app/query/components/ResultsView.tsx | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/query-connector/next-env.d.ts b/query-connector/next-env.d.ts index 4f11a03dc..40c3d6809 100644 --- a/query-connector/next-env.d.ts +++ b/query-connector/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/query-connector/src/app/query/components/CustomizeQuery.tsx b/query-connector/src/app/query/components/CustomizeQuery.tsx index a8a6f4770..ff26755b2 100644 --- a/query-connector/src/app/query/components/CustomizeQuery.tsx +++ b/query-connector/src/app/query/components/CustomizeQuery.tsx @@ -159,7 +159,7 @@ const CustomizeQuery: React.FC = ({ return (
- +

diff --git a/query-connector/src/app/query/components/ResultsView.tsx b/query-connector/src/app/query/components/ResultsView.tsx index ac1debfc6..7b819c704 100644 --- a/query-connector/src/app/query/components/ResultsView.tsx +++ b/query-connector/src/app/query/components/ResultsView.tsx @@ -12,7 +12,11 @@ import EncounterTable from "./resultsView/tableComponents/EncounterTable"; import MedicationRequestTable from "./resultsView/tableComponents/MedicationRequestTable"; import ObservationTable from "./resultsView/tableComponents/ObservationTable"; import Backlink from "./backLink/Backlink"; -import { USE_CASES, UseCaseToQueryName } from "@/app/constants"; +import { + USE_CASES, + UseCaseToQueryName, + demoQueryValToLabelMap, +} from "@/app/constants"; type ResultsViewProps = { useCaseQueryResponse: UseCaseQueryResponse; @@ -80,7 +84,7 @@ const ResultsView: React.FC = ({

Query:{" "} - {UseCaseToQueryName[selectedQuery]} + {demoQueryValToLabelMap[selectedQuery]}