parent
15411a9db9
commit
97b18e9ece
|
@ -119,7 +119,7 @@ class PublicController extends AuthPublicShareController
|
|||
$node = $share->getNode();
|
||||
if ($node instanceof \OCP\Files\File) {
|
||||
$this->initialState->provideInitialState('single_item', $this->getSingleItemInitialState($node));
|
||||
} else if ($node instanceof \OCP\Files\Folder) {
|
||||
} elseif ($node instanceof \OCP\Files\Folder) {
|
||||
$this->initialState->provideInitialState('share_title', $node->getName());
|
||||
} else {
|
||||
throw new NotFoundException();
|
||||
|
|
Loading…
Reference in New Issue