From f7c9ac8b543bce3869dde2d7fb52482275b2722c Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 19 Jun 2024 11:18:57 +0200 Subject: fix(files): Rename openFileInfo to fileInfo And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau --- apps/files/lib/Controller/ViewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/lib/Controller/ViewController.php') diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 84bede683c5..ed01efe0ebb 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -292,7 +292,7 @@ class ViewController extends Controller { } $this->initialState->provideInitialState( - 'openFileInfo', [ + 'fileInfo', [ 'id' => $node->getId(), 'name' => $isRoot ? '' : $node->getName(), 'path' => $path, -- cgit v1.2.3