sanity 5.1.0-next.13 → 5.1.0-next.14
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.
- package/lib/_chunks-es/package.js +1 -1
- package/lib/_chunks-es/pane.js +1 -1
- package/lib/_chunks-es/pane.js.map +1 -1
- package/lib/_chunks-es/version.js +1 -1
- package/lib/_singletons.d.ts +2 -2
- package/lib/desk.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +14 -13
- package/lib/index.js.map +1 -1
- package/lib/presentation.d.ts +1 -1
- package/lib/structure.d.ts +1 -1
- package/package.json +14 -14
package/lib/_chunks-es/pane.js
CHANGED
|
@@ -2604,7 +2604,7 @@ function DeletedDocumentBanners() {
|
|
|
2604
2604
|
} = usePerspective();
|
|
2605
2605
|
if (!ready)
|
|
2606
2606
|
return null;
|
|
2607
|
-
if (!isPublishedPerspective(selectedPerspective) && !isDraftPerspective(selectedPerspective) && selectedPerspective.state === "archived") {
|
|
2607
|
+
if (!isPublishedPerspective(selectedPerspective) && !isDraftPerspective(selectedPerspective) && isReleaseDocument(selectedPerspective) && selectedPerspective.state === "archived") {
|
|
2608
2608
|
const t0 = selectedPerspective;
|
|
2609
2609
|
let t1;
|
|
2610
2610
|
return $[0] !== t0 ? (t1 = /* @__PURE__ */ jsx(ArchivedReleaseBanner, { release: t0 }), $[0] = t0, $[1] = t1) : t1 = $[1], t1;
|