[WEB-1501] chore: update selected entity details on entities list change (#4702)
* chore: update selected entity detials on entities list change * chore: addd selectionHelpers as a prop
This commit is contained in:
parent
453459d271
commit
93a22034bd
6 changed files with 35 additions and 8 deletions
|
|
@ -3,9 +3,11 @@ import { observer } from "mobx-react";
|
|||
import { BulkOperationsUpgradeBanner } from "@/components/issues";
|
||||
// hooks
|
||||
import { useMultipleSelectStore } from "@/hooks/store";
|
||||
import { TSelectionHelper } from "@/hooks/use-multiple-select";
|
||||
|
||||
type Props = {
|
||||
className?: string;
|
||||
selectionHelpers: TSelectionHelper;
|
||||
};
|
||||
|
||||
export const IssueBulkOperationsRoot: React.FC<Props> = observer((props) => {
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ const GroupByList: React.FC<IGroupByList> = observer((props) => {
|
|||
)
|
||||
)}
|
||||
</div>
|
||||
<IssueBulkOperationsRoot />
|
||||
<IssueBulkOperationsRoot selectionHelpers={helpers} />
|
||||
</>
|
||||
)}
|
||||
</MultipleSelectGroup>
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ export const SpreadsheetView: React.FC<Props> = observer((props) => {
|
|||
)}
|
||||
</div>
|
||||
</div>
|
||||
<IssueBulkOperationsRoot />
|
||||
<IssueBulkOperationsRoot selectionHelpers={helpers} />
|
||||
</>
|
||||
)}
|
||||
</MultipleSelectGroup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue