mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
Compare commits
7 Commits
898acb90d0
...
dc793f145d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc793f145d | ||
|
|
77e0b7d89c | ||
|
|
cec19860bc | ||
|
|
f2ccf1953d | ||
|
|
865fb3a967 | ||
|
|
b9d124618c | ||
|
|
ab5d9e8d36 |
@@ -82,7 +82,7 @@ const Dashboard = memo(() => {
|
|||||||
if (!selectedDashboardItem) {
|
if (!selectedDashboardItem) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const id = selectedDashboardItem.id; // this is the parent ID
|
const id = selectedDashboardItem.parentNode.id; // this is the parent ID
|
||||||
await sendDeviceValue({ id, c: devicevalue.c ?? '', v: devicevalue.v })
|
await sendDeviceValue({ id, c: devicevalue.c ?? '', v: devicevalue.v })
|
||||||
.then(() => {
|
.then(() => {
|
||||||
toast.success(LL.WRITE_CMD_SENT());
|
toast.success(LL.WRITE_CMD_SENT());
|
||||||
|
|||||||
Reference in New Issue
Block a user