Skip to content

Commit e5bf6c9

Browse files
committed
chore: remove SFTP Button from File Page
1 parent 8ac1fc6 commit e5bf6c9

File tree

1 file changed

+0
-5
lines changed
  • apps/frontend/src/pages/servers/manage/[id]

1 file changed

+0
-5
lines changed

apps/frontend/src/pages/servers/manage/[id]/files.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
<template #upload> <UploadIcon aria-hidden="true" /> Upload </template>
154154
</OverflowMenu>
155155
</ButtonStyled>
156-
<Button @click="openSftp"> Launch SFTP </Button>
157156
</div>
158157
</div>
159158
<div
@@ -821,10 +820,6 @@ const cancelEditing = () => {
821820
editingFile.value = null;
822821
fileContent.value = "";
823822
};
824-
825-
const openSftp = () => {
826-
window.open(`sftp://${data.value?.sftp_username}@${data.value?.sftp_host}`);
827-
};
828823
</script>
829824

830825
<style>

0 commit comments

Comments
 (0)