mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
get all settings when clicking settings
This commit is contained in:
parent
d90ac7cec0
commit
ffb3db775f
1 changed files with 10 additions and 2 deletions
|
@ -20,7 +20,14 @@ import infoScreen from "./infoScreen.vue";
|
||||||
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
|
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
|
||||||
import Dynamic_components from "./dynamic_components.vue";
|
import Dynamic_components from "./dynamic_components.vue";
|
||||||
|
|
||||||
import { getFreedataMessages, getConfig } from "../js/api";
|
import { getFreedataMessages, getConfig, getSerialDevices, getAudioDevices } from "../js/api";
|
||||||
|
|
||||||
|
function getAllSettings(){
|
||||||
|
getConfig()
|
||||||
|
getAudioDevices()
|
||||||
|
getSerialDevices()
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -47,6 +54,7 @@ import { getFreedataMessages, getConfig } from "../js/api";
|
||||||
id="main-list-tab"
|
id="main-list-tab"
|
||||||
role="tablist"
|
role="tablist"
|
||||||
style="margin-top: 100px"
|
style="margin-top: 100px"
|
||||||
|
@click="getAllSettings"
|
||||||
>
|
>
|
||||||
<main_modem_healthcheck />
|
<main_modem_healthcheck />
|
||||||
|
|
||||||
|
@ -111,7 +119,7 @@ import { getFreedataMessages, getConfig } from "../js/api";
|
||||||
role="tab"
|
role="tab"
|
||||||
aria-controls="list-settings"
|
aria-controls="list-settings"
|
||||||
title="Settings"
|
title="Settings"
|
||||||
@click="getConfig"
|
@click="getAllSettings"
|
||||||
><i class="bi bi-gear-wide-connected h3"></i
|
><i class="bi bi-gear-wide-connected h3"></i
|
||||||
></a>
|
></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue