From 4cfd71dc0c8e83330aeeff50c3a2b536cd478f12 Mon Sep 17 00:00:00 2001 From: Massimo Melina Date: Thu, 10 Feb 2022 19:12:27 +0100 Subject: [PATCH] fix: admin/fs: drives were displayed as files instead of folders --- src/api.vfs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.vfs.ts b/src/api.vfs.ts index 8f9dece37..88ca37478 100644 --- a/src/api.vfs.ts +++ b/src/api.vfs.ts @@ -101,7 +101,7 @@ const apis: ApiHandlers = { if (!path && isWindows()) { try { for (const n of await getDrives()) - yield { add: { n } } + yield { add: { n, k: 'd' } } } catch(error) { console.debug(error)