Revert grid row height to default when unsetting prop
This commit is contained in:
parent
c03e64699d
commit
030b767d1b
|
@ -196,6 +196,8 @@ export const initialise = context => {
|
|||
initialRowHeight.subscribe(height => {
|
||||
if (height) {
|
||||
rowHeight.set(height)
|
||||
} else {
|
||||
rowHeight.set(get(table)?.rowHeight || DefaultRowHeight)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue