Merge branch 'release/v2.6.0' of https://github.com/ONLYOFFICE/DocSpace-client into release/v2.6.0
This commit is contained in:
commit
b2b6293743
@ -105,11 +105,10 @@ const StyledHistoryBlockMessage = styled.div`
|
||||
|
||||
display: inline-flex;
|
||||
gap: 4px;
|
||||
max-width: 100%;
|
||||
|
||||
.main-message {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
min-width: max-content;
|
||||
padding-inline-end: 4px;
|
||||
}
|
||||
|
||||
|
@ -110,17 +110,16 @@ const HistoryRoomExternalLink = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default inject<TStore>(({ userStore, dialogsStore, infoPanelStore }) => {
|
||||
export default inject<TStore>(({ dialogsStore, infoPanelStore }) => {
|
||||
const { infoPanelSelection } = infoPanelStore;
|
||||
const { setLinkParams, setEditLinkPanelIsVisible } = dialogsStore;
|
||||
const { user } = userStore;
|
||||
const { id, roomType } = infoPanelSelection!;
|
||||
const { id, roomType, security } = infoPanelSelection!;
|
||||
const { EditRoom } = security!;
|
||||
|
||||
const isFormRoom = roomType === RoomsType.FormRoom;
|
||||
const cannotEdit = user?.isVisitor || user?.isCollaborator;
|
||||
|
||||
return {
|
||||
canEditLink: !cannotEdit,
|
||||
canEditLink: EditRoom,
|
||||
setEditLinkPanelIsVisible,
|
||||
setLinkParams,
|
||||
roomId: id,
|
||||
|
@ -28,6 +28,7 @@ import styled, { css } from "styled-components";
|
||||
import { UnavailableStyles } from "../../../../utils/commonSettingsStyles";
|
||||
|
||||
const StyledSsoPage = styled.div`
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
|
||||
|
@ -57,8 +57,8 @@ const Wrapper = styled.div`
|
||||
const StyledTabs = styled(Tabs)`
|
||||
> .sticky {
|
||||
z-index: 201;
|
||||
margin-inline-end: -17px;
|
||||
padding-inline-end: 17px;
|
||||
margin-inline-end: -16px;
|
||||
padding-inline-end: 16px;
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -66,7 +66,7 @@ const WelcomePageSettings = loadable(() =>
|
||||
);
|
||||
const DNSSettings = loadable(() =>
|
||||
componentLoader(
|
||||
() => () =>
|
||||
() =>
|
||||
import(
|
||||
"../pages/PortalSettings/categories/common/Customization/dns-settings"
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user