Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navigated to newly created access request page #902

Merged

Conversation

ARADDCC002
Copy link
Member

No description provided.

<AccessRequestDisplay accessRequest={accessRequest} key={accessRequest.metadata.overview.name} />
))
accessRequests
.sort((a, b) => b.createdAt.localeCompare(a.createdAt))
Copy link
Member

@ARADDCC012 ARADDCC012 Nov 28, 2023

Choose a reason for hiding this comment

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

This sort can be replaced by the reusable sortByCreatedAtDescending from dateUtils.ts

If you want it to be ascending then we can make a new reusable function that reuses a lot of the logic from sortByCreatedAtDescending

@ARADDCC002 ARADDCC002 merged commit 9a34330 into main Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants