@26lights/orcha 0.17.0 → 0.17.1

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
@@ -7281,7 +7281,9 @@ const Y5 = {
7281
7281
  var O;
7282
7282
  return {
7283
7283
  ...h,
7284
- disabled: (O = t.activity.dependingOn) == null ? void 0 : O.some((z) => z.id === h.value)
7284
+ disabled: (O = t.activity.dependingOn) == null ? void 0 : O.some(
7285
+ (z) => z.id === h.value
7286
+ )
7285
7287
  };
7286
7288
  })), w = y(() => (t.templateMilestones || []).filter((O) => O.id !== t.milestoneId).map((O) => ({
7287
7289
  label: O.name,
@@ -7317,7 +7319,8 @@ const Y5 = {
7317
7319
  set(h) {
7318
7320
  e("update:activity", {
7319
7321
  id: t.activity.id,
7320
- assigneeId: h[0]
7322
+ assigneeId: h[0] ?? null
7323
+ // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
7321
7324
  });
7322
7325
  }
7323
7326
  }), W = (h) => {
@@ -7483,7 +7486,10 @@ const Y5 = {
7483
7486
  disabled: !h.isEditable,
7484
7487
  caret: h.isEditable
7485
7488
  }, {
7486
- tag: j(({ option: z, handleTagRemove: ae }) => [
7489
+ tag: j(({
7490
+ option: z,
7491
+ handleTagRemove: ae
7492
+ }) => [
7487
7493
  T(_t, {
7488
7494
  "user-name": z.label,
7489
7495
  "avatar-url": z.avatar,