This commit is contained in:
Jan Prochazka
2020-09-24 13:52:32 +02:00
parent 6b04593343
commit 55eda6c1b0
2 changed files with 33 additions and 17 deletions

View File

@@ -182,10 +182,11 @@ export default function QueryTab({
};
const handleKill = () => {
axios.post('sessions/cancel', {
axios.post('sessions/kill', {
sesid: sessionId,
});
setSessionId(null);
setBusy(false);
};
const handleKeyDown = (data, hash, keyString, keyCode, event) => {