implemented stop transmissions

This commit is contained in:
DJ2LS 2023-10-03 10:32:01 +02:00
parent 14e4ba136a
commit 2cd8eb7584
2 changed files with 18 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"name": "electron-vite-project",
"name": "FreeDATA",
"private": true,
"version": "0.0.0",
"version": "0.11.0-alpha",
"main": "dist-electron/main.js",
"scripts": {
"start": "vite",

View file

@ -30,6 +30,11 @@ import main_active_audio_level from './main_active_audio_level.vue'
import chat from './chat.vue'
import {stopTransmission} from '../js/sock.js'
@ -99,6 +104,16 @@ function changeGuiDesign(design) {
//update path to css file
document.getElementById("bootstrap_theme").href = escape(theme_path);
}
function stopAllTransmissions(){
stopTransmission()
}
</script>
<template>
@ -829,7 +844,7 @@ function changeGuiDesign(design) {
<div class="col-md-auto">
<button
type="button"
id="stopTransmission"
@click="stopAllTransmissions()"
class="btn btn-danger"
style="width: 100%"
>