diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-21 11:34:02 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-21 17:16:28 +0100 |
commit | a6d775836f40af71fcd5a75ea1066657cbfac2ed (patch) | |
tree | 7314d5e702135c3f63bb27ec9d8ec5034873e441 /apps | |
parent | e9328c09940369251c17ada855a15e8f33801984 (diff) | |
download | nextcloud-server-a6d775836f40af71fcd5a75ea1066657cbfac2ed.tar.gz nextcloud-server-a6d775836f40af71fcd5a75ea1066657cbfac2ed.zip |
fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 4 | ||||
-rw-r--r-- | apps/files/tests/Controller/ViewControllerTest.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index ca9ac80b9e2..be5069b7f61 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/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( diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 1f8a609106f..8b6fc5a05a9 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/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(); |