Merge pull request #376 from nextcloud/fix/results_initial_state

Fix Results initalState missing
This commit is contained in:
Jan C. Borchardt 2020-05-10 14:53:43 +02:00 committed by GitHub
commit 2a23729695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,6 +171,7 @@ class PageController extends Controller {
public function getResult(): TemplateResponse {
Util::addScript($this->appName, 'forms');
Util::addStyle($this->appName, 'forms');
$this->initialStateService->provideInitialState($this->appName, 'maxStringLengths', $this->maxStringLengths);
return new TemplateResponse($this->appName, 'main');
}