skopix 2.0.57 → 2.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/index.html +1 -10
package/package.json
CHANGED
package/web/app/index.html
CHANGED
|
@@ -5597,8 +5597,7 @@ function renderPendingSteps(steps) {
|
|
|
5597
5597
|
const section = document.getElementById('library-pending-section');
|
|
5598
5598
|
const list = document.getElementById('pending-steps-list');
|
|
5599
5599
|
const countLabel = document.getElementById('pending-count-label');
|
|
5600
|
-
|
|
5601
|
-
if (!section || !list) { console.warn('[pending] missing elements!'); return; }
|
|
5600
|
+
if (!section || !list) return;
|
|
5602
5601
|
|
|
5603
5602
|
if (!steps || steps.length === 0) {
|
|
5604
5603
|
section.style.display = 'none';
|
|
@@ -5606,7 +5605,6 @@ function renderPendingSteps(steps) {
|
|
|
5606
5605
|
return;
|
|
5607
5606
|
}
|
|
5608
5607
|
|
|
5609
|
-
console.log('[pending] showing section with', steps.length, 'steps');
|
|
5610
5608
|
section.style.display = 'block';
|
|
5611
5609
|
updatePendingBadge(steps.length);
|
|
5612
5610
|
if (countLabel) countLabel.textContent = `${steps.length} element${steps.length > 1 ? 's' : ''} waiting`;
|
|
@@ -5638,7 +5636,6 @@ async function loadLibraryView() {
|
|
|
5638
5636
|
fetchLibrarySteps().catch(() => []),
|
|
5639
5637
|
fetchPendingSteps().catch(() => [])
|
|
5640
5638
|
]);
|
|
5641
|
-
console.log('[pending] loadLibraryView got steps:', steps.length, 'pending:', pending.length);
|
|
5642
5639
|
renderPendingSteps(pending);
|
|
5643
5640
|
populateLibraryTagFilter();
|
|
5644
5641
|
renderLibrarySteps(steps);
|
|
@@ -5910,12 +5907,6 @@ function populateLibraryTagFilter() {
|
|
|
5910
5907
|
sel.onchange = prev;
|
|
5911
5908
|
}
|
|
5912
5909
|
|
|
5913
|
-
async function loadLibraryView() {
|
|
5914
|
-
const steps = await fetchLibrarySteps();
|
|
5915
|
-
populateLibraryTagFilter();
|
|
5916
|
-
renderLibrarySteps(steps);
|
|
5917
|
-
}
|
|
5918
|
-
|
|
5919
5910
|
// ── STEP TESTER ──────────────────────────────────────────────────────────────
|
|
5920
5911
|
let stepTesterState = { testerId: null };
|
|
5921
5912
|
|