Skip to content

Commit

Permalink
fix(frontend): files
Browse files Browse the repository at this point in the history
  • Loading branch information
thewander02 committed Oct 16, 2024
1 parent 3c4c9e6 commit c7b2b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/pages/servers/manage/[id]/files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ const downloadFile = async (item: any) => {
const deleteItem = async () => {
try {
await props.server.fs?.deleteFileOrFolder(
`${currentPath.value}/${selectedItem.value.name}`,
`${currentPath.value}/${selectedItem.value.name}`.replace("//", "/"),
selectedItem.value.type === "directory",
);
currentPage.value = 1;
Expand Down

0 comments on commit c7b2b22

Please sign in to comment.