Skip to content

Commit

Permalink
Re-add range in activity timeline, if last active is present
Browse files Browse the repository at this point in the history
  • Loading branch information
joanagmaia committed Oct 8, 2024
1 parent 41d35e5 commit bbbf091
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/modules/activity/components/activity-timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -373,14 +373,14 @@ const fetchActivities = async ({ reset } = { reset: false }) => {
filterToApply.and = [
{
timestamp: {
lte: timestamp.value,
lte: props.entity?.lastActive ?? timestamp.value,
},
},
// {
// timestamp: {
// gte: moment(timestamp.value).subtract(1, 'month').toISOString(),
// },
// }
...(props.entity?.lastActive ? {
timestamp: {
gte: moment(props.entity?.lastActive).subtract(1, 'month').toISOString(),
},
} : {}),
];
if (reset) {
Expand Down

0 comments on commit bbbf091

Please sign in to comment.