From f3c31d945ee9a7f9512336f865ea3c85617bceb7 Mon Sep 17 00:00:00 2001 From: olewandowski1 <109145288+olewandowski1@users.noreply.github.com> Date: Tue, 16 May 2023 16:31:54 +0200 Subject: [PATCH] OTC-950: allRegions flag removed (#61) --- src/components/InsureeFirstServicePointPanel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/InsureeFirstServicePointPanel.js b/src/components/InsureeFirstServicePointPanel.js index 7117884..e5fc5b2 100644 --- a/src/components/InsureeFirstServicePointPanel.js +++ b/src/components/InsureeFirstServicePointPanel.js @@ -1,6 +1,8 @@ import React from "react"; -import { withTheme, withStyles } from "@material-ui/core/styles"; + import { Paper, Grid, Typography, Divider } from "@material-ui/core"; +import { withTheme, withStyles } from "@material-ui/core/styles"; + import { FormattedMessage, PublishedComponent, FormPanel } from "@openimis/fe-core"; const styles = (theme) => ({ @@ -12,7 +14,6 @@ const styles = (theme) => ({ class InsureeFirstServicePointPanel extends FormPanel { render() { const { classes, updateAttribute, readOnly, edited } = this.props; - const allRegions = true; return ( @@ -30,7 +31,6 @@ class InsureeFirstServicePointPanel extends FormPanel { value={edited?.healthFacility ?? null} readOnly={readOnly} onChange={(hf) => updateAttribute("healthFacility", hf)} - allRegions={allRegions} ignoreLocation={true} /> )}