Only apply row height prop if defined
This commit is contained in:
parent
9d8b5e99af
commit
c03e64699d
|
@ -193,5 +193,9 @@ export const initialise = context => {
|
||||||
})
|
})
|
||||||
|
|
||||||
// Reset row height when initial row height prop changes
|
// Reset row height when initial row height prop changes
|
||||||
initialRowHeight.subscribe(rowHeight.set)
|
initialRowHeight.subscribe(height => {
|
||||||
|
if (height) {
|
||||||
|
rowHeight.set(height)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue