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,7 +2474,7 @@ async function reloadData ({ page = 1, useCache = true } = {}) {
duration_ms: Date.now() - startedAt, duration_ms: Date.now() - startedAt,
message: String(err?.message || err || 'reload failed') message: String(err?.message || err || 'reload failed')
}) })
} } finally {
console.info('[product-pricing][ui] reload:done', { console.info('[product-pricing][ui] reload:done', {
duration_ms: Date.now() - startedAt, duration_ms: Date.now() - startedAt,
row_count: Array.isArray(store.rows) ? store.rows.length : 0, row_count: Array.isArray(store.rows) ? store.rows.length : 0,
@@ -2485,6 +2485,7 @@ async function reloadData ({ page = 1, useCache = true } = {}) {
await nextTick() await nextTick()
await new Promise((resolve) => setTimeout(resolve, 0)) await new Promise((resolve) => setTimeout(resolve, 0))
isReloading.value = false isReloading.value = false
}
} }
// Full "fetch all pages" is intentionally avoided; keep server-side paging for performance. // Full "fetch all pages" is intentionally avoided; keep server-side paging for performance.

View File

@@ -2645,7 +2645,7 @@ async function reloadData ({ page = 1, useCache = true } = {}) {
duration_ms: Date.now() - startedAt, duration_ms: Date.now() - startedAt,
message: String(err?.message || err || 'reload failed') message: String(err?.message || err || 'reload failed')
}) })
} } finally {
console.info('[product-pricing][ui] reload:done', { console.info('[product-pricing][ui] reload:done', {
duration_ms: Date.now() - startedAt, duration_ms: Date.now() - startedAt,
row_count: Array.isArray(store.rows) ? store.rows.length : 0, row_count: Array.isArray(store.rows) ? store.rows.length : 0,
@@ -2655,6 +2655,7 @@ async function reloadData ({ page = 1, useCache = true } = {}) {
await nextTick() await nextTick()
await new Promise((resolve) => setTimeout(resolve, 0)) await new Promise((resolve) => setTimeout(resolve, 0))
isReloading.value = false isReloading.value = false
}
} }
// Full "fetch all pages" is intentionally avoided; keep server-side paging for performance. // Full "fetch all pages" is intentionally avoided; keep server-side paging for performance.