@drawbridge/components 0.1.45 → 0.1.46
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.
|
@@ -383,7 +383,10 @@ const FormOrganizationCampaignFieldItem = ({
|
|
|
383
383
|
endpoint: "/organization/" + (values == null ? void 0 : values.organization),
|
|
384
384
|
onChange,
|
|
385
385
|
onDescription: (text) => setValue(at + "description", text, { shouldDirty: true }),
|
|
386
|
-
|
|
386
|
+
// The uploader's Generate tab reads organization.id; values holds the id itself.
|
|
387
|
+
organization: {
|
|
388
|
+
id: values == null ? void 0 : values.organization
|
|
389
|
+
},
|
|
387
390
|
type: "image",
|
|
388
391
|
value: value || ""
|
|
389
392
|
}
|
|
@@ -350,7 +350,10 @@ const FormOrganizationCampaignFieldItem = ({
|
|
|
350
350
|
endpoint: "/organization/" + (values == null ? void 0 : values.organization),
|
|
351
351
|
onChange,
|
|
352
352
|
onDescription: (text) => setValue(at + "description", text, { shouldDirty: true }),
|
|
353
|
-
|
|
353
|
+
// The uploader's Generate tab reads organization.id; values holds the id itself.
|
|
354
|
+
organization: {
|
|
355
|
+
id: values == null ? void 0 : values.organization
|
|
356
|
+
},
|
|
354
357
|
type: "image",
|
|
355
358
|
value: value || ""
|
|
356
359
|
}
|