Merge branch 'develop' into feature/digital/SSR-179

This commit is contained in:
Kroell 2023-01-16 16:03:13 -05:00
commit e290ee5c38

View file

@ -37,7 +37,6 @@
<script> <script>
import textLink from "@/ux-components/text-link/text-link"; import textLink from "@/ux-components/text-link/text-link";
import buttonMain from "@/ux-components/button-main/button-main"; import buttonMain from "@/ux-components/button-main/button-main";
import { issPageValues } from "@/router/router-constants/issPage-values"
export default { export default {
name: "siteFooter", name: "siteFooter",
@ -58,7 +57,7 @@ export default {
}; };
}, },
mounted() { mounted() {
this.paddingHeight = this.includeFooterImage ? this.getFooterInfoBoxHeight() + 89 : this.getFooterInfoBoxHeight() + 24; this.paddingHeight = this.getFooterInfoBoxHeight() + 24;
this.$nextTick(() => { this.$nextTick(() => {
window.addEventListener("resize", this.onResize); window.addEventListener("resize", this.onResize);
}); });
@ -82,11 +81,6 @@ export default {
{ {
return this.getCmsContent(this.cmsWidgetName, "FooterImageURL"); return this.getCmsContent(this.cmsWidgetName, "FooterImageURL");
}, },
includeFooterImage()
{
const currentPageName = this.getPageNameByQueryString();
return (currentPageName.toLowerCase() == issPageValues.WELCOME_PAGE);
}
}, },
methods: { methods: {
onResize() { onResize() {