diff options
Diffstat (limited to 'apps/web/src/lib/commands/batch-command.ts')
| -rw-r--r-- | apps/web/src/lib/commands/batch-command.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/lib/commands/batch-command.ts b/apps/web/src/lib/commands/batch-command.ts index ea23411c..c4ee7e0b 100644 --- a/apps/web/src/lib/commands/batch-command.ts +++ b/apps/web/src/lib/commands/batch-command.ts @@ -10,7 +10,7 @@ export class BatchCommand extends Command { for (const command of this.commands) { const result = command.execute(); - if (result?.select !== undefined) { + if (result?.selection !== undefined) { latestSelectionResult = result; } } @@ -29,7 +29,7 @@ export class BatchCommand extends Command { for (const command of this.commands) { const result = command.redo(); - if (result?.select !== undefined) { + if (result?.selection !== undefined) { latestSelectionResult = result; } } |
