mirror of
https://github.com/docmost/docmost.git
synced 2026-08-31 19:05:29 +08:00
feat(bases): allow updateRow to set position atomically
This commit is contained in:
@@ -150,6 +150,9 @@ export function useUpdateRowMutation() {
|
||||
? {
|
||||
...row,
|
||||
cells: { ...row.cells, ...variables.cells },
|
||||
...(variables.position !== undefined && {
|
||||
position: variables.position,
|
||||
}),
|
||||
}
|
||||
: row,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user