Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaitasaini committed Nov 13, 2024
1 parent df1d1ca commit a191633
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
5 changes: 0 additions & 5 deletions services/app-api/forms/qm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const qmReportTemplate: ReportTemplate = {
title: "General Information",
type: PageType.Standard,
sidebar: true,
subnavbar: true,
elements: [
{
type: ElementType.Header,
Expand Down Expand Up @@ -65,7 +64,6 @@ export const qmReportTemplate: ReportTemplate = {
title: "Required Measure Results",
type: PageType.Standard,
sidebar: true,
subnavbar: true,
elements: [
{
type: ElementType.Header,
Expand All @@ -86,7 +84,6 @@ export const qmReportTemplate: ReportTemplate = {
id: "req-measure-result-modal",
title: "Select measure",
sidebar: true,
subnavbar: true,
type: PageType.Modal,
elements: [
{
Expand All @@ -112,7 +109,6 @@ export const qmReportTemplate: ReportTemplate = {
title: "Stratified Measure Results",
type: PageType.Standard,
sidebar: true,
subnavbar: true,
elements: [
{
type: ElementType.Header,
Expand All @@ -134,7 +130,6 @@ export const qmReportTemplate: ReportTemplate = {
title: "Review & Submit",
type: PageType.Standard,
sidebar: true,
subnavbar: true,
hideNavButtons: true,
elements: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const ReportPageWrapper = () => {

return (
<FormProvider {...methods}>
{currentPage.subnavbar && <SubnavBar />}
<SubnavBar />
<HStack width="100%" height="100%" position="relative" spacing="0">
{currentPage.sidebar && <Sidebar />}
<VStack
Expand Down
3 changes: 2 additions & 1 deletion services/ui-src/src/components/report/SubnavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Link as RouterLink, useParams } from "react-router-dom";
import { Flex, Container, Image, Link, Text } from "@chakra-ui/react";
import { useStore } from "utils";
import checkIcon from "assets/icons/check/icon_check_gray.png";
import { ReportType } from "types/report";

export const SubnavBar = () => {
const { reportType } = useParams();
Expand All @@ -13,7 +14,7 @@ export const SubnavBar = () => {
<Flex sx={sx.subnavFlex}>
<Flex>
<Text sx={sx.submissionNameText}>
{reportType == "QM" ? report?.state + " QMS Report" : ""}
{reportType == ReportType.QM ? report?.state + " QMS Report" : ""}
</Text>
</Flex>
<Flex sx={sx.subnavFlexRight}>
Expand Down

0 comments on commit a191633

Please sign in to comment.