chore: Compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Ferdinand Thiessen 2024-07-25 13:09:45 +02:00 committed by John Molakvoæ
parent 62cf0a3788
commit 73b71fd835
3 changed files with 13 additions and 5 deletions

View file

@ -45,8 +45,16 @@ export const action = new FileAction({
window.OCP.Files.Router.goToRoute(
null, // use default route
{ view: 'files', fileid: node.fileid },
{ dir: node.dirname, openfile: 'true' },
{
view: 'files',
fileid: String(node.fileid),
},
{
// If this node is a folder open the folder in files
dir: isFolder ? node.path : node.dirname,
// otherwise if this is a file, we should open it
openfile: isFolder ? undefined : 'true',
},
)
return null
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long