mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
29 lines
858 B
Vue
29 lines
858 B
Vue
<script setup lang="ts">
|
|
import { setConfig } from "../js/api";
|
|
|
|
import { setActivePinia } from "pinia";
|
|
import pinia from "../store/index";
|
|
setActivePinia(pinia);
|
|
|
|
import { settingsStore as settings, onChange } from "../store/settingsStore.js";
|
|
</script>
|
|
|
|
<template>
|
|
<div class="input-group input-group-sm mb-1">
|
|
<label class="input-group-text w-50">Enable message auto repeat</label>
|
|
<label class="input-group-text w-50">
|
|
<div class="form-check form-switch form-check-inline ms-2">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
@change="onChange"
|
|
v-model="settings.remote.MESSAGES.enable_auto_repeat"
|
|
/>
|
|
<label class="form-check-label" for="enableMessagesAutoRepeatSwitch"
|
|
>Re-send message on beacon</label
|
|
>
|
|
</div>
|
|
</label>
|
|
</div>
|
|
</template>
|