Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-06-18 17:09:06 +03:00
parent 44476e03bc
commit a0274c532e
2 changed files with 21 additions and 19 deletions

View File

@@ -2474,17 +2474,18 @@ async function reloadData ({ page = 1, useCache = true } = {}) {
duration_ms: Date.now() - startedAt,
message: String(err?.message || err || 'reload failed')
})
} finally {
console.info('[product-pricing][ui] reload:done', {
duration_ms: Date.now() - startedAt,
row_count: Array.isArray(store.rows) ? store.rows.length : 0,
has_error: Boolean(store.error)
})
await bindHorizontalScrollSync()
// Let the table render before we re-enable actions (prevents double-submits while the UI is still updating).
await nextTick()
await new Promise((resolve) => setTimeout(resolve, 0))
isReloading.value = false
}
console.info('[product-pricing][ui] reload:done', {
duration_ms: Date.now() - startedAt,
row_count: Array.isArray(store.rows) ? store.rows.length : 0,
has_error: Boolean(store.error)
})
await bindHorizontalScrollSync()
// Let the table render before we re-enable actions (prevents double-submits while the UI is still updating).
await nextTick()
await new Promise((resolve) => setTimeout(resolve, 0))
isReloading.value = false
}
// Full "fetch all pages" is intentionally avoided; keep server-side paging for performance.