[go: nahoru, domu]

Skip to content

Commit

Permalink
fix(ui): remove unused unmount on terminal
Browse files Browse the repository at this point in the history
This commit is aimed to fix a bug which was generated by the unmount function
on the TerminalDialog, which was trying to close the terminal twice, causing
interface bugs.
  • Loading branch information
luannmoreira authored and gustavosbarreto committed Mar 14, 2024
1 parent 3887e97 commit f6e9c4c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ui/src/components/Terminal/TerminalDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ import {
ref,
computed,
watch,
onUnmounted,
} from "vue";
import { useField } from "vee-validate";
import "xterm/css/xterm.css";
Expand Down Expand Up @@ -373,10 +372,6 @@ const close = () => {
store.dispatch("modal/toggleTerminal", "");
};
onUnmounted(() => {
close();
});
defineExpose({ open, showTerminal, showLoginForm, encodeURLParams, connect, privateKey, xterm, fitAddon, ws, close });
</script>

Expand Down

0 comments on commit f6e9c4c

Please sign in to comment.