@trops/dash-core 0.1.368 → 0.1.369

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.js CHANGED
@@ -39877,7 +39877,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref) {
39877
39877
  })]
39878
39878
  })]
39879
39879
  })]
39880
- }) : result.success ? /*#__PURE__*/jsxRuntime.jsxs("div", {
39880
+ }) : result !== null && result !== void 0 && result.success ? /*#__PURE__*/jsxRuntime.jsxs("div", {
39881
39881
  className: "space-y-3",
39882
39882
  children: [(_result$registrySubmi = result.registrySubmission) !== null && _result$registrySubmi !== void 0 && _result$registrySubmi.success ? /*#__PURE__*/jsxRuntime.jsxs("div", {
39883
39883
  className: "space-y-3",
@@ -39976,7 +39976,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref) {
39976
39976
  })]
39977
39977
  })
39978
39978
  })]
39979
- }) : /*#__PURE__*/jsxRuntime.jsxs("div", {
39979
+ }) : result ? /*#__PURE__*/jsxRuntime.jsxs("div", {
39980
39980
  className: "flex items-center gap-2",
39981
39981
  children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.FontAwesomeIcon, {
39982
39982
  icon: "circle-xmark",
@@ -39985,7 +39985,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref) {
39985
39985
  className: "text-sm text-red-400",
39986
39986
  children: result.error || "Publish preparation failed."
39987
39987
  })]
39988
- })]
39988
+ }) : null]
39989
39989
  })
39990
39990
  })]
39991
39991
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {