Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import { observer } from 'mobx-react-lite';

import { Container, Group, GroupTitle, Loader, s, Translate, useS, useTranslate } from '@cloudbeaver/core-blocks';
import { Container, Group, GroupTitle, Loader, s, Translate, useS } from '@cloudbeaver/core-blocks';
import type { IFormState } from '@cloudbeaver/core-ui';

import { AdministrationUserForm } from '../UserForm/AdministrationUserForm.js';
Expand All @@ -20,12 +20,11 @@ interface Props {
}

export const CreateUser = observer<Props>(function CreateUser({ state, onCancel }) {
const translate = useTranslate();
const styles = useS(style);

return (
<Group aria-label={translate('authentication_administration_user_connections_user_add')} className={s(styles, { box: true })} gap vertical noWrap>
<GroupTitle header keepSize>
<Group aria-labelledby="create-user-title" className={s(styles, { box: true })} gap vertical noWrap>
<GroupTitle id="create-user-title" header keepSize>
<Translate token="authentication_administration_user_connections_user_add" />
</GroupTitle>
<Container overflow vertical>
Expand Down
Loading