Web:Client:Add Create room in getGroupContextOptions.

This commit is contained in:
gazizova-vlada 2023-09-22 15:55:27 +03:00
parent 9965519c89
commit 0c394ee1d2
2 changed files with 8 additions and 1 deletions

View File

@ -1503,6 +1503,14 @@ class ContextOptionsStore {
"data-action": "remove", "data-action": "remove",
action: "remove", action: "remove",
}, },
{
id: "create_room",
key: "create-room",
label: "Create room",
icon: DownloadReactSvgUrl,
onClick: this.onClickCreateRoom,
disabled: this.selectedFolderStore.rootFolderType !== FolderType.USER,
},
{ {
key: "download", key: "download",
label: t("Common:Download"), label: t("Common:Download"),

View File

@ -1069,7 +1069,6 @@ class FilesStore {
}; };
setSelection = (selection) => { setSelection = (selection) => {
console.log("setSelection", selection);
this.selection = selection; this.selection = selection;
}; };