From 5314e816a1af38d81443c18dfdb5bc15a58a7d50 Mon Sep 17 00:00:00 2001 From: "arnaud.morvan@camptocamp.com" Date: Thu, 25 Aug 2022 16:15:50 +0200 Subject: [PATCH] Fix modal container --- js/extension/components/information/building/Description.jsx | 2 +- js/extension/components/landedproperty/Modal.jsx | 2 +- js/extension/components/modals/Request.jsx | 2 +- js/extension/components/owners/Modal.jsx | 2 +- js/extension/components/plot/BundleInformationModal.jsx | 2 +- js/extension/components/plot/ExportPlotsAsPDFModal.jsx | 2 +- js/extension/plugins/cadastrapp/Information.jsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/js/extension/components/information/building/Description.jsx b/js/extension/components/information/building/Description.jsx index b93a961..c70e382 100644 --- a/js/extension/components/information/building/Description.jsx +++ b/js/extension/components/information/building/Description.jsx @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import { PanelGroup, Panel} from 'react-bootstrap'; import useAccordionState from '@js/extension/hooks/useAccordionState'; import Message from '@mapstore/components/I18N/Message'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import { getHabitationDetails } from '@js/extension/api'; /* eslint-disable camelcase */ diff --git a/js/extension/components/landedproperty/Modal.jsx b/js/extension/components/landedproperty/Modal.jsx index 221e926..2a9d24f 100644 --- a/js/extension/components/landedproperty/Modal.jsx +++ b/js/extension/components/landedproperty/Modal.jsx @@ -6,7 +6,7 @@ import css from 'raw-loader!../../ficheUniteFonciere.css.txt'; import Message from '@mapstore/components/I18N/Message'; import bbox from '@turf/bbox'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import { Button } from 'react-bootstrap'; import Content from './Content'; import { getInfoUniteFonciere, getProprietaire, getParcelle } from '@js/extension/api/api'; diff --git a/js/extension/components/modals/Request.jsx b/js/extension/components/modals/Request.jsx index eda9115..1d0a2d6 100644 --- a/js/extension/components/modals/Request.jsx +++ b/js/extension/components/modals/Request.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import Message from '@mapstore/components/I18N/Message'; import RS from 'react-select'; import Spinner from "react-spinkit"; diff --git a/js/extension/components/owners/Modal.jsx b/js/extension/components/owners/Modal.jsx index 940ad66..54bd36d 100644 --- a/js/extension/components/owners/Modal.jsx +++ b/js/extension/components/owners/Modal.jsx @@ -5,7 +5,7 @@ import { downloadResponse } from '@js/extension/utils/download'; import '@js/extension/ficheUniteFonciere.css'; import Message from '@mapstore/components/I18N/Message'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import OwnersListTable from '@js/extension/components/table/OwnersListTable'; import { Button, Glyphicon } from 'react-bootstrap'; diff --git a/js/extension/components/plot/BundleInformationModal.jsx b/js/extension/components/plot/BundleInformationModal.jsx index 579bf6e..fa2f662 100644 --- a/js/extension/components/plot/BundleInformationModal.jsx +++ b/js/extension/components/plot/BundleInformationModal.jsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import Spinner from "react-spinkit"; import Message from '@mapstore/components/I18N/Message'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import { Button, FormGroup, Radio } from 'react-bootstrap'; import { diff --git a/js/extension/components/plot/ExportPlotsAsPDFModal.jsx b/js/extension/components/plot/ExportPlotsAsPDFModal.jsx index 450e518..0cccf84 100644 --- a/js/extension/components/plot/ExportPlotsAsPDFModal.jsx +++ b/js/extension/components/plot/ExportPlotsAsPDFModal.jsx @@ -1,7 +1,7 @@ import React from 'react'; import { connect } from 'react-redux'; import { OverlayTrigger, Tooltip } from 'react-bootstrap'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import { PlotInformationRadio } from "@js/extension/components/information/Plot"; import { baseMapsSelector, diff --git a/js/extension/plugins/cadastrapp/Information.jsx b/js/extension/plugins/cadastrapp/Information.jsx index 5322f40..7145d06 100644 --- a/js/extension/plugins/cadastrapp/Information.jsx +++ b/js/extension/plugins/cadastrapp/Information.jsx @@ -1,7 +1,7 @@ import React from 'react'; import {connect} from 'react-redux'; -import Modal from '@mapstore/components/misc/Modal'; +import { Modal } from 'react-bootstrap'; import { getInformationItems, getAuthLevel,