Fixed Bug 61107 - Web: Client: added bufferSelection

This commit is contained in:
DmitrySychugov 2023-02-17 16:42:56 +05:00
parent 10c637e822
commit 3dc1e045a0

View File

@ -140,7 +140,7 @@ class AccountsContextOptionsStore {
key: option,
icon: InfoOutlineReactSvgUrl,
label: t("Common:Info"),
onClick: this.onDetailsClick,
onClick: () => this.onDetailsClick(item),
};
case "invite-again":
@ -389,8 +389,10 @@ class AccountsContextOptionsStore {
setDeleteProfileDialogVisible(true);
};
onDetailsClick = () => {
onDetailsClick = (item) => {
const { setIsVisible } = this.peopleStore.infoPanelStore;
const { setBufferSelection } = this.peopleStore.selectionStore;
setBufferSelection(item);
setIsVisible(true);
};