Browse Source

fix(files): Adjust ID for skip content buttons

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/42419/head
Ferdinand Thiessen 2 years ago
parent
commit
59c982f31f
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 4
      apps/files/lib/Controller/ViewController.php
  2. 2
      apps/files/tests/Controller/ViewControllerTest.php

4
apps/files/lib/Controller/ViewController.php

@ -280,7 +280,9 @@ class ViewController extends Controller {
$this->initialState->provideInitialState('templates', $this->templateManager->listCreators());
$params = [
'fileNotFound' => $fileNotFound ? 1 : 0
'fileNotFound' => $fileNotFound ? 1 : 0,
'id-app-content' => '#app-content-vue',
'id-app-navigation' => '#app-navigation-vue',
];
$response = new TemplateResponse(

2
apps/files/tests/Controller/ViewControllerTest.php

@ -186,6 +186,8 @@ class ViewControllerTest extends TestCase {
'index',
[
'fileNotFound' => 0,
'id-app-content' => '#app-content-vue',
'id-app-navigation' => '#app-navigation-vue',
]
);
$policy = new Http\ContentSecurityPolicy();

Loading…
Cancel
Save