@pitcher/canvas-ui 2026.1.8-154047-beta → 2026.1.9-115754-beta
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/canvas-ui.js +1 -6
- package/canvas-ui.js.map +1 -1
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -120795,11 +120795,7 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
120795
120795
|
|
|
120796
120796
|
function useCanvasContext() {
|
|
120797
120797
|
const { activeCanvas, isPrintDisplayMode, builderCache } = useCanvas$1();
|
|
120798
|
-
const {
|
|
120799
|
-
const myUser = inject(
|
|
120800
|
-
"myUser",
|
|
120801
|
-
computed(() => null)
|
|
120802
|
-
);
|
|
120798
|
+
const { crmShape } = useCrmShape();
|
|
120803
120799
|
const sectionListSectionInfo = inject(
|
|
120804
120800
|
"sectionListSectionInfo",
|
|
120805
120801
|
computed(() => null)
|
|
@@ -120827,7 +120823,6 @@ function useCanvasContext() {
|
|
|
120827
120823
|
builderCache.value[sectionOverrideKey] = mergedCtx;
|
|
120828
120824
|
return mergedCtx;
|
|
120829
120825
|
};
|
|
120830
|
-
const crmShape = computed(() => getDefaultCrmShape({ myUser: myUser.value }));
|
|
120831
120826
|
const crmShapeWithSectionCtx = computed(() => {
|
|
120832
120827
|
const mergedCtx = getSectionCtx();
|
|
120833
120828
|
return !isEmpty(crmShape.value) ? { ...mergedCtx, ...crmShape.value } : mergedCtx;
|