mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
디렉터리 페이지에 상위 디렉터리로 이동 버튼 추가
This commit is contained in:
@@ -44,12 +44,13 @@
|
||||
|
||||
{#if directoryId}
|
||||
{@render menuButton(IconFolderOpen, "폴더에서 보기", () =>
|
||||
goto(directoryId === "root" ? "/directory" : `/directory/${directoryId}`),
|
||||
goto(
|
||||
directoryId === "root" ? "/directory?from=file" : `/directory/${directoryId}?from=file`,
|
||||
),
|
||||
)}
|
||||
{/if}
|
||||
{#if fileBlob}
|
||||
{@render menuButton(IconCloudDownload, "다운로드", () => {
|
||||
console.log(filename);
|
||||
FileSaver.saveAs(fileBlob, filename);
|
||||
})}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user