@proveanything/smartlinks-utils-ui 0.10.6 → 0.10.7

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.
@@ -7762,13 +7762,9 @@ function RecordsAdminShellInner(props) {
7762
7762
  enabled: !!editingTargetScope
7763
7763
  });
7764
7764
  const refetchAll = useCallback(() => {
7765
- productBrowse.refetch();
7766
7765
  recordList.refetch();
7767
- facetBrowse.refetch();
7768
- variantChildren.refetch();
7769
- batchChildren.refetch();
7770
7766
  if (isCollection) collectionItems.refetch();
7771
- }, [productBrowse, recordList, facetBrowse, variantChildren, batchChildren, isCollection, collectionItems]);
7767
+ }, [recordList, isCollection, collectionItems]);
7772
7768
  const { editorCtx } = useShellEditorTarget({
7773
7769
  editingTargetScope,
7774
7770
  isCollection,
@@ -8419,7 +8415,12 @@ function RecordsAdminShellInner(props) {
8419
8415
  ref: "",
8420
8416
  scope: parseRef(""),
8421
8417
  data: null,
8422
- status: "empty",
8418
+ // The dashed/dotted circle is the "empty / not set" affordance. The
8419
+ // synthetic All-items row aggregates every item-level record under the
8420
+ // collection scope, so it should read as "configured" whenever any
8421
+ // items exist — otherwise users see the same missing-data indicator
8422
+ // they (correctly) see next to truly empty rows on the Products tab.
8423
+ status: collectionItems.items.length ? "configured" : "empty",
8423
8424
  label: i18n.itemsAllLabel,
8424
8425
  subtitle: collectionItems.items.length ? `${collectionItems.items.length} ${itemNoun}${collectionItems.items.length === 1 ? "" : "s"}` : void 0
8425
8426
  }),