Skip to content

Commit

Permalink
chore: remove SFTP Button from File Page
Browse files Browse the repository at this point in the history
  • Loading branch information
fangmarks committed Oct 18, 2024
1 parent 8ac1fc6 commit e5bf6c9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/frontend/src/pages/servers/manage/[id]/files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@
<template #upload> <UploadIcon aria-hidden="true" /> Upload </template>
</OverflowMenu>
</ButtonStyled>
<Button @click="openSftp"> Launch SFTP </Button>
</div>
</div>
<div
Expand Down Expand Up @@ -821,10 +820,6 @@ const cancelEditing = () => {
editingFile.value = null;
fileContent.value = "";
};
const openSftp = () => {
window.open(`sftp://${data.value?.sftp_username}@${data.value?.sftp_host}`);
};
</script>

<style>
Expand Down

0 comments on commit e5bf6c9

Please sign in to comment.