fix: x-data sans window. prefix + suppression x-for inutile
FlowDeck CI / test (push) Failing after 3s
FlowDeck CI / docker (push) Has been skipped

- Changé x-data="window._wsInitData" → x-data="_wsInitData"
  (Alpine évalue mieux sans le préfixe global)
- Supprimé <template x-for="node in flatTree"> dans une table cachée
  (x-show="false", jamais visible mais Alpine l'évaluait quand même)
This commit is contained in:
2026-07-13 08:15:20 -04:00
parent 6f8976817a
commit ca73c6902f
+2 -4
View File
@@ -1873,7 +1873,7 @@ console.log('FLOWDECK v2.4.6 — IIFE done, _wsInitData keys:', Object.keys(wind
</script>
<script>console.log('FLOWDECK v2.4.6 — ws-split about to render, _wsInitData exists:', typeof window._wsInitData !== 'undefined');</script>
<div class="ws-split" x-data="window._wsInitData"
<div class="ws-split" x-data="_wsInitData"
@dragover.prevent="onDragOver($event)"
@dragleave="onDragLeave($event)"
@drop.prevent="onDrop($event)"
@@ -2240,9 +2240,7 @@ console.log('FLOWDECK v2.4.6 — IIFE done, _wsInitData keys:', Object.keys(wind
<!-- Old table view kept for backward compat, hidden -->
<table class="ws-table" x-show="false" style="display:none">
<thead><tr><th>Name</th><th>Type</th><th>Size</th></tr></thead>
<tbody><template x-for="node in flatTree" :key="'t'+node.id">
<tr><td x-text="node.name"></td></tr>
</template></tbody>
<tbody></tbody>
</table>
<!-- Empty -->