Merge branch 'develop' of github.com:ONLYOFFICE/DocSpace into develop

This commit is contained in:
Alexey Bannov 2022-11-03 15:09:39 +03:00
commit 537d891bf6
2 changed files with 15 additions and 12 deletions

View File

@ -8,26 +8,26 @@ import Text from "@docspace/components/text";
const StyledContactContainer = styled.div`
display: flex;
width: max-content;
p {
margin-right: 4px;
width: 100%;
a {
margin-left: 4px;
}
`;
const ContactContainer = ({ t, salesEmail, theme }) => {
return (
<StyledContactContainer>
<Text noSelect fontWeight={600}>
<Text as="span" noSelect fontWeight={600}>
{t("ContactUs")}
<ColorTheme
tag="a"
themeId={ThemeType.Link}
fontWeight="600"
href={`mailto:${salesEmail}`}
>
{salesEmail}
</ColorTheme>
</Text>
<ColorTheme
tag="a"
themeId={ThemeType.Link}
fontWeight="600"
href={`mailto:${salesEmail}`}
>
{salesEmail}
</ColorTheme>
</StyledContactContainer>
);
};

View File

@ -757,6 +757,9 @@ class UploadDataStore {
if (needConvert) {
runInAction(() => (currentFile.action = "convert"));
if (!currentFile.fileId) return;
if (!this.filesToConversion.length || this.converted) {
this.filesToConversion.push(currentFile);
this.startConversion();