mirror of
https://github.com/rowyio/rowy.git
synced 2026-07-12 13:28:48 +02:00
fix SideDrawer not working for first row
This commit is contained in:
@@ -110,8 +110,7 @@ export default function SideDrawer() {
|
||||
<Form
|
||||
key={urlDocState.path}
|
||||
values={
|
||||
urlDocState.doc ??
|
||||
(cell && cell?.row ? tableState?.rows[cell!.row] ?? {} : {})
|
||||
urlDocState.doc ?? tableState?.rows[cell?.row ?? -1] ?? {}
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user