From 04737a6c6de7ec73a53cc1caf4a87335e9cf0d0c Mon Sep 17 00:00:00 2001 From: Ilya Oleshko Date: Fri, 25 Feb 2022 17:45:20 +0300 Subject: [PATCH] Web: Client: Files: Added fixedDirection property for AccessComboBox --- .../Client/src/components/panels/SharingPanel/AccessComboBox.js | 2 ++ .../Client/src/components/panels/SharingPanel/SharingRow.js | 1 + 2 files changed, 3 insertions(+) diff --git a/products/ASC.Files/Client/src/components/panels/SharingPanel/AccessComboBox.js b/products/ASC.Files/Client/src/components/panels/SharingPanel/AccessComboBox.js index c549c2ee30..cc5ad0982c 100644 --- a/products/ASC.Files/Client/src/components/panels/SharingPanel/AccessComboBox.js +++ b/products/ASC.Files/Client/src/components/panels/SharingPanel/AccessComboBox.js @@ -16,6 +16,7 @@ const AccessComboBox = (props) => { t, arrowIconColor, disableLink, + fixedDirection, } = props; const { FullAccess, @@ -119,6 +120,7 @@ const AccessComboBox = (props) => { disableIconClick={false} isDisabled={isDisabled} isDefaultMode={false} + fixedDirection={fixedDirection} > diff --git a/products/ASC.Files/Client/src/components/panels/SharingPanel/SharingRow.js b/products/ASC.Files/Client/src/components/panels/SharingPanel/SharingRow.js index ca5040a742..74ff74d4c5 100644 --- a/products/ASC.Files/Client/src/components/panels/SharingPanel/SharingRow.js +++ b/products/ASC.Files/Client/src/components/panels/SharingPanel/SharingRow.js @@ -220,6 +220,7 @@ class SharingRow extends React.Component { itemId={id} accessOptions={accessOptions} isDisabled={isLoading} + fixedDirection={true} /> ) }