sanity 3.98.1-next.0-d2b3cf52c0-202507091323 → 3.98.1-next.0-d2f9810b3c-202507091336

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.
@@ -1743,6 +1743,8 @@ function PaneHeaderCreateButton(t0) {
1743
1743
  $[6] !== templatePermissions ? (t52 = templatePermissions.reduce(_temp2$8, {}), $[6] = templatePermissions, $[7] = t52) : t52 = $[7], t4 = t52;
1744
1744
  }
1745
1745
  const permissionsById = t4;
1746
+ if (templateItems.length === 0)
1747
+ return null;
1746
1748
  if (nothingGranted) {
1747
1749
  let t52;
1748
1750
  $[8] !== t ? (t52 = t("pane-header.disabled-created-button.aria-label"), $[8] = t, $[9] = t52) : t52 = $[9];