diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-08-17 04:03:47 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-08-18 01:50:37 +0000 |
commit | 7a13388fe94411b527b8f78db3a25598b9700544 (patch) | |
tree | aa16244a690ec2ca4124e69903e5298f3bc5adf2 /lib/private/Template | |
parent | 2f538bb20f7859b2f09d0d088be9ee47c6cdadde (diff) | |
download | nextcloud-server-7a13388fe94411b527b8f78db3a25598b9700544.tar.gz nextcloud-server-7a13388fe94411b527b8f78db3a25598b9700544.zip |
Hide deprecated projects in sharing tab by default
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/private/Template')
-rw-r--r-- | lib/private/Template/JSConfigHelper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php index 5f23b471837..61f0c4e39cd 100644 --- a/lib/private/Template/JSConfigHelper.php +++ b/lib/private/Template/JSConfigHelper.php @@ -293,6 +293,8 @@ class JSConfigHelper { ]); } + $this->initialStateService->provideInitialState('core', 'projects_enabled', $this->config->getSystemValueBool('projects.enabled', false)); + $this->initialStateService->provideInitialState('core', 'config', $config); $this->initialStateService->provideInitialState('core', 'capabilities', $capabilities); |