diff --git a/pkg/interface/src/views/apps/launch/components/Groups.tsx b/pkg/interface/src/views/apps/launch/components/Groups.tsx index a474d2f8e..e93016e35 100644 --- a/pkg/interface/src/views/apps/launch/components/Groups.tsx +++ b/pkg/interface/src/views/apps/launch/components/Groups.tsx @@ -93,7 +93,10 @@ function Group(props: GroupProps) { ); const { hideUnreads } = useSettingsState(selectCalmState); const joined = useSettingsState(selectJoined); - const days = Math.floor(moment.duration(moment(joined).add(14, 'days').diff(moment())).as('days')); + const days = Math.max(0, Math.floor(moment.duration(moment(joined) + .add(14, 'days') + .diff(moment())) + .as('days'))) || 0; return (