mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-29 16:15:51 +00:00
fix(frontend): improve code
This commit is contained in:
@@ -18,7 +18,7 @@ export const action = (node) => {
|
||||
let height = 0
|
||||
|
||||
const style = window.getComputedStyle(node)
|
||||
const visible = style.getPropertyValue('visibility') === 'hidden'
|
||||
const visible = style?.getPropertyValue('visibility') === 'hidden'
|
||||
|
||||
if (visible === false) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user