do not select deleted elements (#1215)
This commit is contained in:
parent
ae1eee15cc
commit
44f871de71
@ -8,7 +8,9 @@ export const actionSelectAll = register({
|
|||||||
appState: {
|
appState: {
|
||||||
...appState,
|
...appState,
|
||||||
selectedElementIds: elements.reduce((map, element) => {
|
selectedElementIds: elements.reduce((map, element) => {
|
||||||
|
if (!element.isDeleted) {
|
||||||
map[element.id] = true;
|
map[element.id] = true;
|
||||||
|
}
|
||||||
return map;
|
return map;
|
||||||
}, {} as any),
|
}, {} as any),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user