Merge branch 'develop' into feature/shared-article

This commit is contained in:
Timofey Boyko 2024-01-23 10:12:08 +03:00
commit 0da84ca486
8 changed files with 8 additions and 6 deletions

View File

@ -203,7 +203,7 @@ export default function withFileActions(WrappedFileItem) {
item.foldersCount === 0
) {
setParentId(item.parentId);
setRoomType(item.roomType);
// setRoomType(item.roomType);
}
openFileAction(item);

View File

@ -159,7 +159,7 @@ export default inject(
const { currentDeviceType } = settingsStore;
const { id } = user;
const { id } = userStore.user;
return {
visible: changeRoomOwnerIsVisible,

View File

@ -124,7 +124,7 @@ class ProfileActionsStore {
};
onSpacesClick = () => {
this.selectedFolderStore.setSelectedFolder(null);
// this.selectedFolderStore.setSelectedFolder(null);
window.open(SPACES_URL, "_blank");
};

View File

@ -273,6 +273,7 @@ const ComboBoxPure = (props: ComboboxProps) => {
isNoFixedHeightOptions={isNoFixedHeightOptions}
forceCloseClickOutside={forceCloseClickOutside}
withoutBackground={withoutBackground}
eventTypes={["click"]}
>
{dropDownBody}
</DropDown>

View File

@ -228,7 +228,7 @@ const Modal = ({
) : container &&
containerVisible &&
currentDisplayType !== "modal" ? (
{ containerComponent }
containerComponent
) : (
<FormWrapper withForm={withForm || false}>
{header && (

View File

@ -227,6 +227,7 @@ const Navigation = ({
{withLogo && (
<NavigationLogo
className="navigation-logo"
logo={typeof withLogo === "string" ? withLogo : ""}
burgerLogo={burgerLogo}
/>
)}

View File

@ -88,7 +88,7 @@ export interface INavigationItemProps {
isRoot: boolean;
isRootRoom: boolean;
onClick: TOnNavigationItemClick;
withLogo: boolean;
withLogo: boolean | string;
currentDeviceType: DeviceType;
style?: React.CSSProperties;
}

View File

@ -1297,7 +1297,7 @@ class TableHeader extends React.Component<
if (hideColumns !== hideColumnsConst) {
this.setState({ hideColumns: hideColumnsConst });
setHideColumns(hideColumns);
setHideColumns(hideColumnsConst);
}
if (hideColumns) {