mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-12-20 01:11:03 +08:00
fix import settings
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / notify (push) Has been cancelled
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / notify (push) Has been cancelled
This commit is contained in:
@@ -4,9 +4,9 @@ import { Controller, useForm } from 'react-hook-form';
|
||||
import i18next from 'i18next';
|
||||
import cn from 'clsx';
|
||||
|
||||
import s from './MobileConfigForm.module.pcss';
|
||||
|
||||
import { FaqTooltip } from 'panel/common/ui/FaqTooltip';
|
||||
import { Input } from 'panel/common/controls/Input';
|
||||
import { Select } from 'panel/common/controls/Select';
|
||||
import { getPathWithQueryString } from '../../helpers/helpers';
|
||||
import { CLIENT_ID_LINK, MOBILE_CONFIG_LINKS, STANDARD_HTTPS_PORT } from '../../helpers/constants';
|
||||
import { toNumber } from '../../helpers/form';
|
||||
@@ -16,10 +16,10 @@ import {
|
||||
validatePort,
|
||||
validateIsSafePort,
|
||||
} from '../../helpers/validators';
|
||||
import { Input } from 'panel/common/controls/Input';
|
||||
import { Select } from 'panel/common/controls/Select';
|
||||
import { Button } from '../../common/ui/Button';
|
||||
|
||||
import s from './MobileConfigForm.module.pcss';
|
||||
|
||||
const getDownloadLink = (host: string, clientId: string, protocol: string, invalid: boolean) => {
|
||||
if (!host || invalid) {
|
||||
return (
|
||||
|
||||
@@ -70,6 +70,10 @@
|
||||
color: var(--default-link);
|
||||
}
|
||||
|
||||
&_danger {
|
||||
color: var(--default-danger);
|
||||
}
|
||||
|
||||
&_active {
|
||||
font-weight: var(--weight-semi-bold);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user