Fixed Bug 69428: Zoom: Selector during a call opens in the root section
This commit is contained in:
parent
74d72b3b70
commit
4e7f4a3f88
@ -246,6 +246,11 @@ const Sdk = ({
|
||||
|
||||
if (!frameConfig) return;
|
||||
|
||||
const selectorOpenRoot =
|
||||
selectorType !== "userFolderOnly" &&
|
||||
selectorType !== "roomsOnly" &&
|
||||
!frameConfig?.id;
|
||||
|
||||
switch (mode) {
|
||||
case "room-selector":
|
||||
const cancelButtonProps = frameConfig?.showSelectorCancel
|
||||
@ -294,7 +299,7 @@ const Sdk = ({
|
||||
acceptButtonLabel={frameConfig?.acceptButtonLabel}
|
||||
cancelButtonLabel={frameConfig?.cancelButtonLabel}
|
||||
currentFolderId={frameConfig?.id}
|
||||
openRoot={!frameConfig?.id}
|
||||
openRoot={selectorOpenRoot}
|
||||
descriptionText={formatsDescription[frameConfig?.filterParam] || ""}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user