Fix error when another user updates a row not inside our grid
This commit is contained in:
parent
d6a10e2dab
commit
2338783f22
|
@ -371,7 +371,7 @@ export const createActions = context => {
|
||||||
// Get index of row to check if it exists
|
// Get index of row to check if it exists
|
||||||
const $rows = get(rows)
|
const $rows = get(rows)
|
||||||
const $rowLookupMap = get(rowLookupMap)
|
const $rowLookupMap = get(rowLookupMap)
|
||||||
const index = $rowLookupMap[id].__idx
|
const index = $rowLookupMap[id]?.__idx
|
||||||
|
|
||||||
// Process as either an update, addition or deletion
|
// Process as either an update, addition or deletion
|
||||||
if (row) {
|
if (row) {
|
||||||
|
|
Loading…
Reference in New Issue