CB-4356 remove unique id error in console

This commit is contained in:
s.teleshev
2023-12-15 12:17:54 +01:00
parent 1f2a13f185
commit 2c8db4d9ea
3 changed files with 2 additions and 3 deletions
@@ -8,7 +8,6 @@
import { observer } from 'mobx-react-lite';
import { filterLayoutFakeProps, getLayoutProps } from '../../Containers/filterLayoutFakeProps';
import elementsSizeStyles from '../../Containers/shared/ElementsSize.m.css';
import { s } from '../../s';
import { useS } from '../../useS';
import { Field } from '../Field';
@@ -95,7 +95,7 @@ export const SSH: TabContainerPanelComponent<Props> = observer(function SSH({ st
<Form>
<ColoredContainer parent>
<Group form gap keepSize large>
<Switch name="enabled" state={handlerState} mod={['primary']} disabled={disabled || readonly}>
<Switch id="ssh-enable-switch" name="enabled" state={handlerState} mod={['primary']} disabled={disabled || readonly}>
{translate('connections_network_handler_ssh_tunnel_enable')}
</Switch>
<Combobox
@@ -61,7 +61,7 @@ export const SSL: TabContainerPanelComponent<Props> = observer(function SSL({ st
<Form>
<ColoredContainer parent>
<Group gap form large vertical>
<Switch name="enabled" state={handlerState} description={handler.description} mod={['primary']} disabled={disabled || readonly}>
<Switch id="ssl-enable-switch" name="enabled" state={handlerState} description={handler.description} mod={['primary']} disabled={disabled || readonly}>
{translate('connections_public_connection_ssl_enable')}
</Switch>
{isUncategorizedExists && (