Skip to content

Commit

Permalink
fix cancelling
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Dec 14, 2024
1 parent a4a675f commit 251b5c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/pages/NodeFilesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ import NodeDropDownMenu from "../nodes/NodeDropDownMenu.vue";
import TextButton from "../TextButton.vue";
import DialogUtils from "../../js/DialogUtils.js";
import SaveButton from "../SaveButton.vue";
import FileTransferAPI from "../../js/FileTransferAPI.js";
import IconButton from "../IconButton.vue";
import FileTransferrer from "../../js/FileTransferrer.js";
Expand Down Expand Up @@ -262,7 +261,7 @@ export default {
}
try {
await FileTransferAPI.cancelFileTransfer(fileTransfer.to, fileTransfer.id);
await FileTransferrer.cancelFileTransfer(fileTransfer);
} catch(e) {
console.log(e);
}
Expand Down

0 comments on commit 251b5c6

Please sign in to comment.