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

refactor: sort institution select alphabetically #143

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Conversation

bra-i-am
Copy link
Contributor

Ticket

PADV-1159

Description

This PR modifies the institution selector so this is sorted alphabetically

Screenshots

image

Copy link
Contributor

Choose a reason for hiding this comment

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

I recommend performing the sorting in the thunk. This ensures that the institutions are stored in a sorted order in the store, making them readily usable in different contexts, not just for this selector.

https://github.com/Pearson-Advance/frontend-app-institution-portal/blob/master/src/features/Main/data/thunks.js#L10

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@01001110J, thanks, and sorry for this. I already applied the change

@bra-i-am bra-i-am force-pushed the vue/PADV-1159 branch 2 times, most recently from 34c4c49 to b628c36 Compare December 27, 2024 18:35
@bra-i-am bra-i-am requested a review from 01001110J December 27, 2024 18:37
@AuraAlba
Copy link
Contributor

Don't forget to rebase master

@bra-i-am bra-i-am merged commit 34b10cd into master Dec 27, 2024
2 checks passed
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.

3 participants