Web: Client: Profile. ActiveSessions: fixed styles

This commit is contained in:
Elyor Djalilov 2024-08-07 16:51:39 +05:00
parent d92d72061c
commit d4dd33f453
2 changed files with 3 additions and 5 deletions

View File

@ -56,10 +56,9 @@ const LogoutAllSessionDialog = ({
visible={visible}
onClose={onClose}
displayType="modal"
autoMaxHeight
>
<ModalDialog.Header>
{t("Profile:LogoutAllActiveConnections")}
</ModalDialog.Header>
<ModalDialog.Header>{t("Common:LogoutButton")}</ModalDialog.Header>
<ModalDialog.Body>
<Text>{t("Profile:LogoutDescription")}</Text>
<Text style={{ margin: "15px 0" }}>
@ -70,8 +69,8 @@ const LogoutAllSessionDialog = ({
className="change-password"
isChecked={isChecked}
onChange={onChangeCheckbox}
label={t("Profile:ChangePasswordAfterLoggingOut")}
/>
{t("Profile:ChangePasswordAfterLoggingOut")}
</Box>
</ModalDialog.Body>
<ModalDialog.Footer>

View File

@ -586,7 +586,6 @@ class SettingsSetupStore {
};
getSessions = () => {
if (this.sessionsIsInit) return;
this.getAllSessions().then((res) => {
this.setSessions(res.items);
this.currentSession = res.loginEvent;