Merged PR 2377: added enlarge map view on dnsapplication list

added enlarge map view on dnsapplication list

Related work items: #23774
This commit is contained in:
Robert Bond
2026-06-09 10:04:32 +00:00
parent c39e4bcc9a
commit 7e47340326
6 changed files with 72 additions and 43 deletions
+5 -2
View File
@@ -23,7 +23,7 @@ import { wrapper } from "../store/store";
import ServiceBanner from "../components/servicebanner";
const Home = (props) => {
const { footerLinks, pages, showMap, showLoginCheck } = props;
const { footerLinks, pages, showMap, showLoginCheck, mapTarget } = props;
let { t, lang } = useTranslation();
const router = useRouter();
@@ -109,6 +109,7 @@ const Home = (props) => {
searchString="DNS"
searchResultsObj={props.searchResultsObj}
showLoginCheck={showLoginCheck}
mapTarget={mapTarget}
/>
</div>
<Footer footerLinks={footerLinks} ticketnumber={props} />
@@ -140,6 +141,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
const showLoginCheck = process.env.SHOWLOGIN || false;
const showMapCheck = process.env.SHOWMAPS || false;
const mapTarget = process.env.MAP_TARGET || "pedw-dev";
// if (_.has(searchResultsObj, "status") == true) {
// return {
@@ -166,7 +168,8 @@ export const getServerSideProps = wrapper.getServerSideProps(
return {
props: {
showMap: showMapCheck,
showLoginCheck: showLoginCheck
showLoginCheck: showLoginCheck,
mapTarget: mapTarget
}
};
}