@pitcher/canvas-ui 2026.1.22-163808-beta → 2026.1.22-165049-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 +5 -1
- package/canvas-ui.js.map +1 -1
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -171972,7 +171972,11 @@ const _sfc_main$11 = /*@__PURE__*/defineComponent({
|
|
|
171972
171972
|
return true;
|
|
171973
171973
|
}
|
|
171974
171974
|
const fileId = getFileId();
|
|
171975
|
-
|
|
171975
|
+
const file = files.value?.[fileId];
|
|
171976
|
+
if (file) {
|
|
171977
|
+
return file.permissions?.can_print !== false;
|
|
171978
|
+
}
|
|
171979
|
+
return props.item.file?.permissions?.can_print !== false;
|
|
171976
171980
|
});
|
|
171977
171981
|
function handleActions(key) {
|
|
171978
171982
|
switch (key) {
|