Pull request: client: upd manual upd link
Closes #4208. Squashed commit of the following: commit 4ae27b5f7cd6b0f4ec0c9041d92c4d1ac00dd622 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Jan 31 18:34:18 2022 +0300 client: upd manual upd link
This commit is contained in:
parent
f9aa5ae86a
commit
bf9b35b9c6
|
@ -13,7 +13,7 @@ import {
|
||||||
STATUS_RESPONSE,
|
STATUS_RESPONSE,
|
||||||
SETTINGS_NAMES,
|
SETTINGS_NAMES,
|
||||||
FORM_NAME,
|
FORM_NAME,
|
||||||
GETTING_STARTED_LINK,
|
MANUAL_UPDATE_LINK,
|
||||||
} from '../helpers/constants';
|
} from '../helpers/constants';
|
||||||
import { areEqualVersions } from '../helpers/version';
|
import { areEqualVersions } from '../helpers/version';
|
||||||
import { getTlsStatus } from './encryption';
|
import { getTlsStatus } from './encryption';
|
||||||
|
@ -193,7 +193,7 @@ export const getUpdate = () => async (dispatch, getState) => {
|
||||||
const handleRequestError = () => {
|
const handleRequestError = () => {
|
||||||
const options = {
|
const options = {
|
||||||
components: {
|
components: {
|
||||||
a: <a href={GETTING_STARTED_LINK} target="_blank"
|
a: <a href={MANUAL_UPDATE_LINK} target="_blank"
|
||||||
rel="noopener noreferrer" />,
|
rel="noopener noreferrer" />,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -58,7 +58,7 @@ export const REPOSITORY = {
|
||||||
export const PRIVACY_POLICY_LINK = 'https://adguard.com/privacy/home.html';
|
export const PRIVACY_POLICY_LINK = 'https://adguard.com/privacy/home.html';
|
||||||
export const PORT_53_FAQ_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/FAQ#bindinuse';
|
export const PORT_53_FAQ_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/FAQ#bindinuse';
|
||||||
export const UPSTREAM_CONFIGURATION_WIKI_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#upstreams';
|
export const UPSTREAM_CONFIGURATION_WIKI_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#upstreams';
|
||||||
export const GETTING_STARTED_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#update';
|
export const MANUAL_UPDATE_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/FAQ#manual-update';
|
||||||
|
|
||||||
export const FILTERS_RELATIVE_LINK = '#filters';
|
export const FILTERS_RELATIVE_LINK = '#filters';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue