@sanity/vision 6.13.0-next.79 → 6.13.0-next.85
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.
|
@@ -2474,7 +2474,7 @@ function VisionGui(props) {
|
|
|
2474
2474
|
}, $[55] = apiVersion, $[56] = client, $[57] = customApiVersion, $[58] = dataset, $[59] = isValidApiVersion, $[60] = localStorage, $[61] = params.parsed, $[62] = perspective, $[63] = perspectiveStack, $[64] = query, $[65] = queryInProgress, $[66] = scheduledDraftsStack, $[67] = selectedVariantName, $[68] = t, $[69] = t22) : t22 = $[69];
|
|
2475
2475
|
let handleQueryExecution = t22, t23;
|
|
2476
2476
|
$[70] !== handleQueryExecution || $[71] !== localStorage ? (t23 = (newPerspective) => {
|
|
2477
|
-
newPerspective
|
|
2477
|
+
(newPerspective === void 0 || isSupportedPerspective(newPerspective)) && (setPerspectiveState(newPerspective), localStorage.set("perspective", newPerspective), handleQueryExecution({ perspective: newPerspective }));
|
|
2478
2478
|
}, $[70] = handleQueryExecution, $[71] = localStorage, $[72] = t23) : t23 = $[72];
|
|
2479
2479
|
let setPerspective = t23, t24;
|
|
2480
2480
|
$[73] !== handleQueryExecution || $[74] !== localStorage ? (t24 = (evt) => {
|
|
@@ -2952,4 +2952,4 @@ function SanityVision(props) {
|
|
|
2952
2952
|
}
|
|
2953
2953
|
export { SanityVision as default };
|
|
2954
2954
|
|
|
2955
|
-
//# sourceMappingURL=SanityVision-
|
|
2955
|
+
//# sourceMappingURL=SanityVision-CLaQvTR9.js.map
|