@open-mercato/ui 0.6.8-develop.6977.1.5041da373e → 0.6.8-develop.6981.1.5c7cff2f3b

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.
@@ -739,6 +739,7 @@ function DataTable({
739
739
  sorting: sortingProp,
740
740
  onSortingChange,
741
741
  pagination,
742
+ showQueryTime = true,
742
743
  isLoading,
743
744
  emptyState,
744
745
  error,
@@ -1855,7 +1856,7 @@ function DataTable({
1855
1856
  const startItem = (page - 1) * pagination.pageSize + 1;
1856
1857
  const endItem = Math.min(page * pagination.pageSize, pagination.total);
1857
1858
  const effectiveDuration = typeof durationMs === "number" && Number.isFinite(durationMs) && durationMs >= 0 ? durationMs : measuredDurationMs ?? void 0;
1858
- const durationLabel = formatDurationLabel(effectiveDuration);
1859
+ const durationLabel = showQueryTime ? formatDurationLabel(effectiveDuration) : "";
1859
1860
  const normalizedCacheStatus = cacheStatus === "hit" || cacheStatus === "miss" ? cacheStatus : null;
1860
1861
  const cacheBadge = normalizedCacheStatus ? /* @__PURE__ */ jsxs(
1861
1862
  "span",
@@ -1902,7 +1903,7 @@ function DataTable({
1902
1903
  }
1903
1904
  )
1904
1905
  ] });
1905
- }, [pagination, measuredDurationMs, scrollTableIntoView, t]);
1906
+ }, [pagination, showQueryTime, measuredDurationMs, scrollTableIntoView, t]);
1906
1907
  const resolvedEntityIds = React.useMemo(() => {
1907
1908
  if (Array.isArray(entityIds) && entityIds.length) {
1908
1909
  const dedup = /* @__PURE__ */ new Set();