@26lights/orcha 0.34.16 → 0.34.18

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