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