From c1e3e97f224e51d10b1383b653b3d7b0943a23aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20R=C3=B6hrl?= Date: Tue, 20 Oct 2020 14:36:47 +0200 Subject: show if tags are installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakob Röhrl --- lib/Controller/PageController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 4fbc9599..19f3ce7e 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -87,6 +87,7 @@ class PageController extends Controller { $this->initialStateService->provideInitialState($this->appName, 'video-mimes', Application::VIDEO_MIMES); $this->initialStateService->provideInitialState($this->appName, 'maps', $this->appManager->isEnabledForUser('maps') === true); $this->initialStateService->provideInitialState($this->appName, 'croppedLayout', $this->config->getUserValue($user->getUid(), Application::APP_ID, 'croppedLayout', 'false')); + $this->initialStateService->provideInitialState($this->appName, 'systemtags', $this->appManager->isEnabledForUser('systemtags') === true); Util::addScript(Application::APP_ID, 'photos-main'); Util::addStyle(Application::APP_ID, 'icons'); -- cgit v1.2.3