Merged in bugfix/PMCORE-2854 (pull request #7841)

PMCORE-2854

Approved-by: Henry Jonathan Quispe Quispe
Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Rodrigo Quelca
2021-03-15 13:34:04 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -47,6 +47,7 @@ export default {
}
});
}, 2000);
window.addEventListener("resize", this.handleIframeResize);
},
data() {
return {
@@ -71,6 +72,13 @@ export default {
}
},
onLoadIframe() {},
/**
* Resize event Handler
* @param {object} e
*/
handleIframeResize(e) {
this.height = window.innerHeight - this.diffHeight;
}
},
};
</script>