mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 11:06:25 +08:00
chore: bump toolchain & fix lint
This commit is contained in:
@@ -58,8 +58,7 @@ export const getSelectedModelsCommand: Command<
|
||||
])
|
||||
.pipe(getSelectedBlocksCommand, { types, mode })
|
||||
.pipe(ctx => {
|
||||
const { selectedBlocks = [] } = ctx;
|
||||
selectedModels.push(...selectedBlocks.map(el => el.model));
|
||||
selectedModels.push(...ctx.selectedBlocks.map(el => el.model));
|
||||
})
|
||||
.run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user