mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 23:12:34 +03:00
рабочий вариант
This commit is contained in:
@@ -547,16 +547,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
function udateSingleStatusOfWidget(newStatus, widgetTopic) {
|
||||
for (let i = 0; i < layoutJson.length; i++) {
|
||||
let topic = layoutJson[i].topic;
|
||||
if (topic === widgetTopic) {
|
||||
layoutJson[i].status = newStatus;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function onParced() {
|
||||
if (currentPageName === "/|") {
|
||||
clearParcedFlags();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<script>
|
||||
import App from "../App.svelte";
|
||||
import { onMount } from "svelte";
|
||||
import { handle_promise } from "svelte/internal";
|
||||
onMount(async () => {
|
||||
setDefaultValue();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user