fix: remove eventListener in farmprinter panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-10-29 23:02:36 +02:00
1 parent 7a9f601a4a
commit f0481501d5
1 file changed
+1 -1
+1 -1
View File
@@ -217,7 +217,7 @@ export default class FarmPrinterPanel extends Mixins(BaseMixin) {
}
beforeDestroy() {
window.addEventListener('resize', this.resize)
window.removeEventListener('resize', this.resize)
}
resize() {