summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 284f14c5db4..e4a2724de67 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -220,6 +220,10 @@ class TemplateLayout extends \OC_Template {
}
}
+
+ /** @var InitialStateService $initialState */
+ $initialState = \OC::$server->query(InitialStateService::class);
+ $this->assign('initialStates', $initialState->getInitialStates());
}
/**