Merge branch 'release/v2.6.0' into bugfix/group-dialog-issues

This commit is contained in:
Alexey Safronov 2024-07-23 19:07:06 +04:00
commit 2650d17533
5 changed files with 25 additions and 32 deletions

View File

@ -74,8 +74,6 @@ const HeaderContainer = styled.div`
white-space: nowrap;
overflow: hidden;
color: ${(props) => props.theme.client.settings.headerTitleColor};
display: flex;
align-items: center;
}
}
.action-wrapper {
@ -368,9 +366,12 @@ const SectionHeaderContent = (props) => {
/>
)}
<Headline type="content" truncate={true}>
<div className="settings-section_header">
<div className="header">
{t(header, {
organizationName: t("Common:OrganizationName"),
})}
</div>
{isNeedPaidIcon ? (
<Badge
backgroundColor={theme.isBase ? "#EDC409" : "#A38A1A"}
@ -382,6 +383,7 @@ const SectionHeaderContent = (props) => {
) : (
""
)}
</div>
</Headline>
<div className="tariff-bar">
<TariffBar />

View File

@ -3961,19 +3961,6 @@ class FilesStore {
openDocEditor = (id, preview = false, shareKey = null, editForm = false) => {
const { openOnNewPage } = this.filesSettingsStore;
const foundIndex = this.files.findIndex((x) => x.id === id);
const file = foundIndex !== -1 ? this.files[foundIndex] : undefined;
if (
file &&
!preview &&
file.rootFolderType !== FolderType.Archive &&
file.fileExst !== ".oform"
) {
const newStatus = file.fileStatus | FileStatus.IsEditing;
this.updateSelectionStatus(id, newStatus, true);
this.updateFileStatus(foundIndex, newStatus);
}
const share = shareKey ? shareKey : this.publicRoomStore.publicRoomKey;

View File

@ -7,6 +7,6 @@
"FillItOutAgain": "Fill it out again",
"FormCompletedSuccessfully": "Form completed successfully",
"FormNumber": "Form number:",
"Manager": "Manager:",
"FormOwner": "Form owner",
"Title": "The form is completed"
}

View File

@ -207,7 +207,7 @@ export const CompletedForm = ({
</Box>
</FormNumberWrapper>
<ManagerWrapper>
<span className="label">{t("CompletedForm:Manager")}</span>
<span className="label">{t("CompletedForm:FormOwner")}</span>
<Box>
<Avatar
className="manager__avatar"

View File

@ -368,7 +368,11 @@ class TableHeader extends React.Component<
if (storageSize) {
const splitStorage = storageSize.split(" ");
if (getSubstring(splitStorage[0]) <= defaultMinColumnSize) {
if (
(defaultSize &&
splitStorage[splitStorage.length - 2] !== `${defaultSize}px`) ||
getSubstring(splitStorage[0]) <= defaultMinColumnSize
) {
localStorage.removeItem(columnStorageName);
this.onResize();
return;