Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Feature/last used group #348

Closed
wants to merge 2 commits into from
Closed

Feature/last used group #348

wants to merge 2 commits into from

Conversation

jlopker
Copy link
Contributor

@jlopker jlopker commented Apr 17, 2017

No description provided.

@groups()[0]
groupsByLastActivity = _.sortBy @groups(), (group) ->
group.lastActivityAt
groupsByLastActivity[groupsByLastActivity.length - 1]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC it seems like this will return the group with the most recent activity by anyone, as opposed to the group last used by this user.

@jlopker jlopker closed this Apr 18, 2017
@jlopker jlopker deleted the feature/last-used-group branch September 7, 2017 23:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants