Skip to content

Commit ac5aa7b

Browse files
committed
fix: fallback
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent f90e081 commit ac5aa7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/modules/activity/components/activity-timeline.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ const query = ref('');
267267
const activities = ref([]);
268268
const limit = ref(10);
269269
const offset = ref(0);
270-
const joinedAt = dateHelper(props.entity.joinedAt);
271-
const timestamp = ref(joinedAt.isValid() ? joinedAt.toISOString() : dateHelper().toISOString());
270+
const joinedAt = dateHelper(props.entity.joinedAt ?? props.entity.createdAt);
271+
const timestamp = ref(joinedAt.isValid() ? joinedAt.toISOString() : new Date(0).toISOString());
272272
const noMore = ref(false);
273273
const selectedSegment = ref(props.selectedSegment || null);
274274

0 commit comments

Comments
 (0)