diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2023-02-10 19:22:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 19:22:45 -0800 |
commit | b59b8fd8088502c9a55a1efaa760ff34964cd439 (patch) | |
tree | ba86ebb6d1649735c7c4eaf746c4d06f9043eb44 /lib | |
parent | fd2d91a77df965349cef1aa2dfc7234b3e3f816b (diff) | |
parent | c77998209f779dfccd86afeeafd43a7bbd886ff2 (diff) | |
download | nextcloud-server-b59b8fd8088502c9a55a1efaa760ff34964cd439.tar.gz nextcloud-server-b59b8fd8088502c9a55a1efaa760ff34964cd439.zip |
Merge pull request #36232 from nextcloud/enh/a11y-user-menu
Port user menu to Vue
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TemplateLayout.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 5a4cd32e5df..d127443944f 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -130,7 +130,7 @@ class TemplateLayout extends \OC_Template { $navigation = $this->navigationManager->getAll(); $this->assign('navigation', $navigation); $settingsNavigation = $this->navigationManager->getAll('settings'); - $this->assign('settingsnavigation', $settingsNavigation); + $this->initialState->provideInitialState('core', 'settingsNavEntries', $settingsNavigation); foreach ($navigation as $entry) { if ($entry['active']) { @@ -268,7 +268,7 @@ class TemplateLayout extends \OC_Template { $this->assign('cssfiles', []); $this->assign('printcssfiles', []); - $this->assign('versionHash', self::$versionHash); + $this->initialState->provideInitialState('core', 'versionHash', self::$versionHash); foreach ($cssFiles as $info) { $web = $info[1]; $file = $info[2]; |