From 1bf6773d8df0174b4c5c2a081e0f25cab778c907 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 26 Oct 2022 11:58:06 -0700 Subject: [PATCH] Add link to maps (fix #121) --- lib/Controller/PageController.php | 1 + src/App.vue | 6 ++++++ src/mixins/UserConfig.ts | 2 ++ src/router.ts | 9 +++++++++ 4 files changed, 18 insertions(+) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 07cf650d..5df17e23 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -87,6 +87,7 @@ class PageController extends Controller // Apps enabled $this->initialState->provideInitialState('systemtags', true === $this->appManager->isEnabledForUser('systemtags')); $this->initialState->provideInitialState('recognize', true === $this->appManager->isEnabledForUser('recognize')); + $this->initialState->provideInitialState('maps', true === $this->appManager->isEnabledForUser('maps')); $this->initialState->provideInitialState('version', $this->appManager->getAppInfo('memories')['version']); $policy = new ContentSecurityPolicy(); diff --git a/src/App.vue b/src/App.vue index 1b38abc2..a316e631 100644 --- a/src/App.vue +++ b/src/App.vue @@ -39,6 +39,10 @@ :title="t('memories', 'Tags')"> + + +