@drawbridge/components 0.1.44 → 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
|
}
|
|
@@ -560,6 +560,12 @@ const TemplateSocketOrganization = ({
|
|
|
560
560
|
queryClient.invalidateQueries({
|
|
561
561
|
queryKey: ["organization-contacts", params.organization]
|
|
562
562
|
});
|
|
563
|
+
queryClient.invalidateQueries({
|
|
564
|
+
queryKey: ["organization-campaign-tests"]
|
|
565
|
+
});
|
|
566
|
+
queryClient.invalidateQueries({
|
|
567
|
+
queryKey: ["organization-campaign-test"]
|
|
568
|
+
});
|
|
563
569
|
},
|
|
564
570
|
// @story workflows/list
|
|
565
571
|
// Sync emits this on every workflow status change, on delete, and when
|
|
@@ -525,6 +525,12 @@ const TemplateSocketOrganization = ({
|
|
|
525
525
|
queryClient.invalidateQueries({
|
|
526
526
|
queryKey: ["organization-contacts", params.organization]
|
|
527
527
|
});
|
|
528
|
+
queryClient.invalidateQueries({
|
|
529
|
+
queryKey: ["organization-campaign-tests"]
|
|
530
|
+
});
|
|
531
|
+
queryClient.invalidateQueries({
|
|
532
|
+
queryKey: ["organization-campaign-test"]
|
|
533
|
+
});
|
|
528
534
|
},
|
|
529
535
|
// @story workflows/list
|
|
530
536
|
// Sync emits this on every workflow status change, on delete, and when
|