mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
26 lines
698 B
Vue
26 lines
698 B
Vue
<script setup lang="ts">
|
|
import { setActivePinia } from "pinia";
|
|
import pinia from "../../store/index";
|
|
setActivePinia(pinia);
|
|
|
|
import { stopTransmission } from "../../js/api";
|
|
|
|
function stopAllTransmissions() {
|
|
console.log("stopping transmissions");
|
|
stopTransmission();
|
|
}
|
|
</script>
|
|
<template>
|
|
<a
|
|
class="btn btn-outline-danger d-flex border justify-content-center align-items-center object-fill rounded w-100 h-100"
|
|
id="stop_transmission_connection"
|
|
data-bs-toggle="tooltip"
|
|
data-bs-trigger="hover"
|
|
data-bs-html="false"
|
|
@click="stopAllTransmissions()"
|
|
title="Abort session and stop transmissions"
|
|
>
|
|
<i class="bi bi-sign-stop-fill h1"></i>
|
|
</a>
|
|
</template>
|