@26lights/orcha 0.34.16 → 0.34.17

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/orcha.es.js CHANGED
@@ -8221,9 +8221,7 @@ const h1 = /* @__PURE__ */ J({
8221
8221
  },
8222
8222
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
8223
8223
  setup(t, { emit: e }) {
8224
- const a = t;
8225
- console.log({ actiProps: a });
8226
- const n = (f) => {
8224
+ const a = t, n = (f) => {
8227
8225
  e("update:activity", {
8228
8226
  id: a.activity.id,
8229
8227
  name: f
@@ -10497,9 +10495,7 @@ const N8 = /* @__PURE__ */ J({
10497
10495
  },
10498
10496
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
10499
10497
  setup(t, { emit: e }) {
10500
- const a = t;
10501
- console.log({ props: a });
10502
- const n = k(() => {
10498
+ const a = t, n = k(() => {
10503
10499
  var y;
10504
10500
  return (y = a.phases) == null ? void 0 : y.find((h) => h.id === a.phaseId);
10505
10501
  }), s = k(
@@ -10548,7 +10544,7 @@ const N8 = /* @__PURE__ */ J({
10548
10544
  breadcrumbs: `${(M = n.value) == null ? void 0 : M.name} / ${(w = o.value) == null ? void 0 : w.name}`,
10549
10545
  "is-editable": y.isEditable,
10550
10546
  "attachment-enabled": y.attachmentEnabled,
10551
- projects: [y.project],
10547
+ projects: y.project ? [y.project] : [],
10552
10548
  onClose: y.$router.back,
10553
10549
  "onUpdate:activity": r,
10554
10550
  onAddSubtask: l,