@26lights/orcha 0.37.37 → 0.37.39
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.cjs.js +1 -1
- package/dist/orcha.es.js +2 -4
- package/dist/orcha.umd.js +1 -1
- package/package.json +2 -2
package/dist/orcha.es.js
CHANGED
|
@@ -8221,9 +8221,7 @@ const wn = /* @__PURE__ */ x({
|
|
|
8221
8221
|
},
|
|
8222
8222
|
emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
|
|
8223
8223
|
setup(t, { emit: e }) {
|
|
8224
|
-
const a = t
|
|
8225
|
-
useToast();
|
|
8226
|
-
const n = A(() => {
|
|
8224
|
+
const a = t, n = A(() => {
|
|
8227
8225
|
var m;
|
|
8228
8226
|
return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((m = a.activity.assignee) == null ? void 0 : m.id) : !1;
|
|
8229
8227
|
}), s = (m) => {
|
|
@@ -8402,7 +8400,7 @@ const wn = /* @__PURE__ */ x({
|
|
|
8402
8400
|
return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((D = a.activity.createdBy) == null ? void 0 : D.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
|
|
8403
8401
|
});
|
|
8404
8402
|
function j() {
|
|
8405
|
-
const m = window.location.origin, D = a.activity.slug, Q = `${m}/activity/${D}`;
|
|
8403
|
+
const m = window.location.origin, D = a.activity.slug, Q = `${m}/activity-feed/slug/${D}`;
|
|
8406
8404
|
navigator.clipboard.writeText(Q).then(() => {
|
|
8407
8405
|
e("toast", "Link copied to clipboard!", "success");
|
|
8408
8406
|
}).catch(() => {
|