aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-06-23 12:25:27 +0100
committerLibravatar GitHub <noreply@github.com>2022-06-23 12:25:27 +0100
commit23c46e84af2e37d011648c77abcffc64a11cf1f8 (patch)
treefa23bd5cf6c8a8035dff8fcaeb8c6bb8b0caf96b /src/lib
parentFix issue with incorrect GH workflow [skip ci] (diff)
downloadferdium-app-23c46e84af2e37d011648c77abcffc64a11cf1f8.tar.gz
ferdium-app-23c46e84af2e37d011648c77abcffc64a11cf1f8.tar.zst
ferdium-app-23c46e84af2e37d011648c77abcffc64a11cf1f8.zip
Workaroud for in-app Password Recovery (#342)
* Change funtion name [skip ci] * Workaround #312
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Menu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js
index 98de80884..900375c2f 100644
--- a/src/lib/Menu.js
+++ b/src/lib/Menu.js
@@ -31,7 +31,7 @@ import { aboutAppDetails, ferdiumVersion } from '../environment-remote';
31import { todoActions } from '../features/todos/actions'; 31import { todoActions } from '../features/todos/actions';
32import { workspaceActions } from '../features/workspaces/actions'; 32import { workspaceActions } from '../features/workspaces/actions';
33import { workspaceStore } from '../features/workspaces/index'; 33import { workspaceStore } from '../features/workspaces/index';
34import apiBase, { termsBase } from '../api/apiBase'; 34import apiBase, { serverBase } from '../api/apiBase';
35import { openExternalUrl } from '../helpers/url-helpers'; 35import { openExternalUrl } from '../helpers/url-helpers';
36import globalMessages from '../i18n/globalMessages'; 36import globalMessages from '../i18n/globalMessages';
37 37
@@ -567,13 +567,13 @@ const _titleBarTemplateFactory = (intl, locked) => [
567 { 567 {
568 label: intl.formatMessage(menuItems.tos), 568 label: intl.formatMessage(menuItems.tos),
569 click() { 569 click() {
570 openExternalUrl(`${termsBase()}/terms`, true); 570 openExternalUrl(`${serverBase()}/terms`, true);
571 }, 571 },
572 }, 572 },
573 { 573 {
574 label: intl.formatMessage(menuItems.privacy), 574 label: intl.formatMessage(menuItems.privacy),
575 click() { 575 click() {
576 openExternalUrl(`${termsBase()}/privacy`, true); 576 openExternalUrl(`${serverBase()}/privacy`, true);
577 }, 577 },
578 }, 578 },
579 ], 579 ],