@selfcommunity/react-templates 0.4.1-alpha.9 → 0.4.1

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.
@@ -118,7 +118,7 @@ function EventFeed(inProps) {
118
118
  }
119
119
  return w;
120
120
  }), [widgets, scEvent]);
121
- if (!scEvent) {
121
+ if (!scEvent || (scEvent && ((eventId !== undefined && scEvent.id !== eventId) || (event && scEvent.id !== event.id)))) {
122
122
  return (0, jsx_runtime_1.jsx)(Skeleton_1.default, {});
123
123
  }
124
124
  else if (scEvent.privacy === types_1.SCEventPrivacyType.PRIVATE &&
@@ -115,7 +115,7 @@ export default function EventFeed(inProps) {
115
115
  }
116
116
  return w;
117
117
  }), [widgets, scEvent]);
118
- if (!scEvent) {
118
+ if (!scEvent || (scEvent && ((eventId !== undefined && scEvent.id !== eventId) || (event && scEvent.id !== event.id)))) {
119
119
  return _jsx(EventFeedSkeleton, {});
120
120
  }
121
121
  else if (scEvent.privacy === SCEventPrivacyType.PRIVATE &&