Merge pull request #1385 from ONLYOFFICE/bugfix/main-button

Bugfix/main button
This commit is contained in:
Alexey Safronov 2023-04-28 16:57:57 +04:00 committed by GitHub
commit d9951b894d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -405,13 +405,12 @@ const MainButtonMobile = (props) => {
children
)}
</StyledDropDown>
<StyledAlertIcon>
{alert && !isOpen ? (
{alert && !isOpen && (
<StyledAlertIcon>
<StyledButtonAlertIcon onClick={onAlertClickAction} size="medium" />
) : (
<></>
)}
</StyledAlertIcon>
</StyledAlertIcon>
)}
</div>
</>
);