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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user