@26lights/orcha 0.7.15 → 0.7.16

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
@@ -6566,8 +6566,9 @@ const hc = {
6566
6566
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
6567
6567
  setup(s, { emit: e }) {
6568
6568
  const t = s, n = (p) => {
6569
- const d = "add" in p ? p.add.element : p.removed.element;
6570
- e("updateActivity", {
6569
+ console.log("changeList", p);
6570
+ let d;
6571
+ "add" in p ? d = p.add.element : "removed" in p ? d = p.removed.element : "moved" in p && (d = p.moved.element), d && e("updateActivity", {
6571
6572
  id: d.id,
6572
6573
  statusId: t.status.id
6573
6574
  });