Skip to content

Commit 8cdc25c

Browse files
Copilotdorkmo
andcommitted
Fix PIN modal hiding for unlocked client console preview
Co-authored-by: dorkmo <[email protected]>
1 parent 429390a commit 8cdc25c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/html-render.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,14 @@ setTimeout(() => {{
266266
pinState.configured = true;
267267
pinState.value = '1234'; // Simulated unlocked state
268268
applyServerData({sample_json}, "dev:client001");
269+
270+
// Force hide the PIN modal for the unlocked preview
271+
setTimeout(() => {{
272+
const modal = document.getElementById('pinModal');
273+
if (modal) {{
274+
modal.classList.add('hidden');
275+
}}
276+
}}, 200);
269277
''')
270278
271279
# For serial monitor, inject sample log data

0 commit comments

Comments
 (0)