We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4c9e6 commit c7b2b22Copy full SHA for c7b2b22
apps/frontend/src/pages/servers/manage/[id]/files.vue
@@ -641,7 +641,7 @@ const downloadFile = async (item: any) => {
641
const deleteItem = async () => {
642
try {
643
await props.server.fs?.deleteFileOrFolder(
644
- `${currentPath.value}/${selectedItem.value.name}`,
+ `${currentPath.value}/${selectedItem.value.name}`.replace("//", "/"),
645
selectedItem.value.type === "directory",
646
);
647
currentPage.value = 1;
0 commit comments