fix(core): show toolbar when quick select doc explorer (#12601)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Selection mode is now automatically activated when a document is selected or deselected in the quick actions view. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
ea92e2291d
commit
dd1b8ff920
@ -214,6 +214,7 @@ export const QuickSelect = memo(function QuickSelect({
|
|||||||
onClick?.(e);
|
onClick?.(e);
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
contextValue.selectMode$?.next(true);
|
||||||
contextValue.selectedDocIds$?.next(
|
contextValue.selectedDocIds$?.next(
|
||||||
selected
|
selected
|
||||||
? selectedDocIds.filter(id => id !== doc.id)
|
? selectedDocIds.filter(id => id !== doc.id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user