mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
implemented stop transmissions
This commit is contained in:
parent
14e4ba136a
commit
2cd8eb7584
|
@ -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",
|
||||
|
|
|
@ -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%"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue