@drawbridge/components 0.1.39 → 0.1.40
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/dashboard/card-campaign-switch.js +1 -1
- package/dist/dashboard/card-campaign-switch.mjs +1 -1
- package/dist/dashboard/card-task.js +1 -1
- package/dist/dashboard/card-task.mjs +1 -1
- package/dist/shared/lib/campaign.js +2 -3
- package/dist/shared/lib/campaign.mjs +2 -3
- package/package.json +1 -1
|
@@ -108,7 +108,7 @@ const CardTask = ({
|
|
|
108
108
|
className: stack ? "break-word w-full space-y-1" : "break-word space-y-1"
|
|
109
109
|
},
|
|
110
110
|
children: [
|
|
111
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
111
|
+
(title || badge) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
112
112
|
badge && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
113
113
|
import_badge.default,
|
|
114
114
|
{
|
|
@@ -76,7 +76,7 @@ const CardTask = ({
|
|
|
76
76
|
className: stack ? "break-word w-full space-y-1" : "break-word space-y-1"
|
|
77
77
|
},
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */ jsxs("p", { children: [
|
|
79
|
+
(title || badge) && /* @__PURE__ */ jsxs("p", { children: [
|
|
80
80
|
badge && /* @__PURE__ */ jsx(
|
|
81
81
|
Badge,
|
|
82
82
|
{
|
|
@@ -72,10 +72,9 @@ const orderCard = (campaign) => {
|
|
|
72
72
|
return {
|
|
73
73
|
button: {
|
|
74
74
|
href: "/organizations/" + (campaign == null ? void 0 : campaign.organization) + "/campaigns/" + (campaign == null ? void 0 : campaign.id) + "/form",
|
|
75
|
-
text: "
|
|
75
|
+
text: "Edit form"
|
|
76
76
|
},
|
|
77
|
-
message: "
|
|
78
|
-
title: "Turn off Order first",
|
|
77
|
+
message: "Giveaway cannot activate while the form accepts orders.",
|
|
79
78
|
type: "warning"
|
|
80
79
|
};
|
|
81
80
|
};
|
|
@@ -45,10 +45,9 @@ const orderCard = (campaign) => {
|
|
|
45
45
|
return {
|
|
46
46
|
button: {
|
|
47
47
|
href: "/organizations/" + (campaign == null ? void 0 : campaign.organization) + "/campaigns/" + (campaign == null ? void 0 : campaign.id) + "/form",
|
|
48
|
-
text: "
|
|
48
|
+
text: "Edit form"
|
|
49
49
|
},
|
|
50
|
-
message: "
|
|
51
|
-
title: "Turn off Order first",
|
|
50
|
+
message: "Giveaway cannot activate while the form accepts orders.",
|
|
52
51
|
type: "warning"
|
|
53
52
|
};
|
|
54
53
|
};
|