Fix issue with text value rendering [SCI-9583]

This commit is contained in:
Martin Artnik 2023-10-24 13:15:17 +02:00
parent 2850135e96
commit 0e3c7eaf26

View file

@ -46,8 +46,10 @@ export default {
},
mounted() {
this.$nextTick(() => {
const textHeight = this.$refs.textRef.scrollHeight
this.expandable = textHeight > 60 // 60px
if (this.$refs.textRef) {
const textHeight = this.$refs.textRef.scrollHeight
this.expandable = textHeight > 60 // 60px
}
})
},
}