@selfcommunity/react-ui 0.10.5-alpha.7 → 0.10.5-alpha.8

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.
@@ -227,7 +227,7 @@ function EventForm(inProps) {
227
227
  formData.append('location', field.location === types_1.SCEventLocationType.PERSON ? types_1.SCEventLocationType.PERSON : types_1.SCEventLocationType.ONLINE);
228
228
  if (field.location === types_1.SCEventLocationType.ONLINE) {
229
229
  formData.append('link', field.link);
230
- formData.append('live_stream_settings', '');
230
+ formData.append('live_stream_settings', null);
231
231
  }
232
232
  else if (field.location === types_1.SCEventLocationType.LIVESTREAM) {
233
233
  formData.append('link', '');
@@ -238,7 +238,7 @@ function EventForm(inProps) {
238
238
  formData.append('geolocation_lat', field.lat.toString());
239
239
  formData.append('geolocation_lng', field.lng.toString());
240
240
  formData.append('link', '');
241
- formData.append('live_stream_settings', '');
241
+ formData.append('live_stream_settings', null);
242
242
  }
243
243
  if (privateEnabled) {
244
244
  formData.append('privacy', field.isPublic ? types_1.SCEventPrivacyType.PUBLIC : types_1.SCEventPrivacyType.PRIVATE);
@@ -225,7 +225,7 @@ export default function EventForm(inProps) {
225
225
  formData.append('location', field.location === SCEventLocationType.PERSON ? SCEventLocationType.PERSON : SCEventLocationType.ONLINE);
226
226
  if (field.location === SCEventLocationType.ONLINE) {
227
227
  formData.append('link', field.link);
228
- formData.append('live_stream_settings', '');
228
+ formData.append('live_stream_settings', null);
229
229
  }
230
230
  else if (field.location === SCEventLocationType.LIVESTREAM) {
231
231
  formData.append('link', '');
@@ -236,7 +236,7 @@ export default function EventForm(inProps) {
236
236
  formData.append('geolocation_lat', field.lat.toString());
237
237
  formData.append('geolocation_lng', field.lng.toString());
238
238
  formData.append('link', '');
239
- formData.append('live_stream_settings', '');
239
+ formData.append('live_stream_settings', null);
240
240
  }
241
241
  if (privateEnabled) {
242
242
  formData.append('privacy', field.isPublic ? SCEventPrivacyType.PUBLIC : SCEventPrivacyType.PRIVATE);