pxengine 0.1.106 → 0.1.107

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/dist/index.cjs CHANGED
@@ -39559,7 +39559,7 @@ var PresentationJobCard = ({
39559
39559
  }
39560
39560
  }, [isTerminal]);
39561
39561
  const handleShare = async () => {
39562
- const link = shareUrl ?? formats.html_url;
39562
+ const link = shareUrl ?? (typeof window !== "undefined" && _job_id ? `${window.location.origin}/p/${_job_id}` : formats.html_url);
39563
39563
  if (!link) return;
39564
39564
  try {
39565
39565
  await navigator.clipboard.writeText(link);