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; white-space: nowrap;
overflow: hidden; overflow: hidden;
color: ${(props) => props.theme.client.settings.headerTitleColor}; color: ${(props) => props.theme.client.settings.headerTitleColor};
display: flex;
align-items: center;
} }
} }
.action-wrapper { .action-wrapper {
@ -368,20 +366,24 @@ const SectionHeaderContent = (props) => {
/> />
)} )}
<Headline type="content" truncate={true}> <Headline type="content" truncate={true}>
{t(header, { <div className="settings-section_header">
organizationName: t("Common:OrganizationName"), <div className="header">
})} {t(header, {
{isNeedPaidIcon ? ( organizationName: t("Common:OrganizationName"),
<Badge })}
backgroundColor={theme.isBase ? "#EDC409" : "#A38A1A"} </div>
label={t("Common:Paid")} {isNeedPaidIcon ? (
fontWeight="700" <Badge
className="settings-section_badge" backgroundColor={theme.isBase ? "#EDC409" : "#A38A1A"}
isPaidBadge={true} label={t("Common:Paid")}
/> fontWeight="700"
) : ( className="settings-section_badge"
"" isPaidBadge={true}
)} />
) : (
""
)}
</div>
</Headline> </Headline>
<div className="tariff-bar"> <div className="tariff-bar">
<TariffBar /> <TariffBar />

View File

@ -3961,19 +3961,6 @@ class FilesStore {
openDocEditor = (id, preview = false, shareKey = null, editForm = false) => { openDocEditor = (id, preview = false, shareKey = null, editForm = false) => {
const { openOnNewPage } = this.filesSettingsStore; 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; const share = shareKey ? shareKey : this.publicRoomStore.publicRoomKey;

View File

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

View File

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

View File

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