Fix rename and new folder functions.

This commit is contained in:
Leo Vasanko 2023-11-08 12:06:57 -08:00
parent f0c7465944
commit 4ae31fe241

View File

@ -98,7 +98,6 @@
tabindex="-1"
@contextmenu.prevent
@focus.stop="cursor = doc"
@blur="ev => { if (!editing) cursor = null }"
@keyup.left="router.back()"
@keyup.right.stop="ev => { if (doc.dir) (ev.target as HTMLElement).click() }"
>{{ doc.name }}</a
@ -201,7 +200,7 @@ defineExpose({
loc: loc.value,
key: 'new',
name: 'New Folder',
type: 'folder',
dir: true,
mtime: now,
size: 0,
sizedisp: formatSize(0),