diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-06-23 12:25:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-23 12:25:27 +0100 |
commit | 23c46e84af2e37d011648c77abcffc64a11cf1f8 (patch) | |
tree | fa23bd5cf6c8a8035dff8fcaeb8c6bb8b0caf96b /src/lib/Menu.js | |
parent | Fix issue with incorrect GH workflow [skip ci] (diff) | |
download | ferdium-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/Menu.js')
-rw-r--r-- | src/lib/Menu.js | 6 |
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'; | |||
31 | import { todoActions } from '../features/todos/actions'; | 31 | import { todoActions } from '../features/todos/actions'; |
32 | import { workspaceActions } from '../features/workspaces/actions'; | 32 | import { workspaceActions } from '../features/workspaces/actions'; |
33 | import { workspaceStore } from '../features/workspaces/index'; | 33 | import { workspaceStore } from '../features/workspaces/index'; |
34 | import apiBase, { termsBase } from '../api/apiBase'; | 34 | import apiBase, { serverBase } from '../api/apiBase'; |
35 | import { openExternalUrl } from '../helpers/url-helpers'; | 35 | import { openExternalUrl } from '../helpers/url-helpers'; |
36 | import globalMessages from '../i18n/globalMessages'; | 36 | import 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 | ], |