This commit is contained in:
Sergey Yarkov 2023-11-14 16:24:42 +03:00
parent e2ad549ed1
commit 7779ce96e5
3 changed files with 129 additions and 130 deletions

View File

@ -45,7 +45,6 @@ export const appController = {
`,
[mb_tcp_ip, mb_tcp_port, payload.log_interval_ms],
);
return res.status(200).json({ message: "Config Updated." });
}

BIN
data.db

Binary file not shown.

View File

@ -70,7 +70,7 @@
class="flex flex-col space-y-2"
>
<div>
<label :for="$id('id')"><span class="text-red-500">*</span>Slave ID:</label>
<label :for="$id('id')"><span class="text-red-500">*</span>ID устройства:</label>
<input
x-model.number="data.id"
:id="$id('id')"
@ -305,8 +305,8 @@
<!-- Remove display value -->
<button
@click="$dispatch('dialog', {
title: 'Remove display value',
body: `Remove display value ${value.name}?`,
title: 'Удалить отображаемое значение',
body: `Удалить ${value.name}?`,
isOpen: true,
onConfirm: async () => await removeDisplayValue(value.id)
});"