запуск компилятора

This commit is contained in:
IoT Manager
2023-10-05 14:38:57 +02:00
parent dd77fe249d
commit ba10b3bc55
4 changed files with 190 additions and 77 deletions

View File

@@ -48,8 +48,9 @@
const rebootingTimeout = 30000;
const updatingTimeout = 130000;
let rebootTimer;
let opened = false;
let opened = true;
let preventMove = false;
let screenSize;
const blobDebug = false;
const devMode = true;
@@ -182,6 +183,9 @@
onMount(async () => {
console.log("[i]", "mounted");
await getUser();
onCheck();
opened = screenSize > 900 ? true : false;
selectedDeviceDataRefresh();
//флаг первого запроса списка устройств
firstDevListRequest = true;
@@ -1125,14 +1129,10 @@
//**********************************************************modal*************************************************************************/
function onCheck() {
let width = screen.width;
//console.log("width", width);
if (width < 900) {
if (screenSize < 900) {
preventMove = true;
//opened = false;
} else {
preventMove = false;
//opened = true;
}
}
@@ -1244,6 +1244,8 @@
}
</script>
<svelte:window bind:innerWidth={screenSize} />
<div class="flex flex-col h-screen bg-gray-50">
{#if showAwaitingCircle}
<Progress />