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

PADV-731 add institution selector #32

Merged
merged 1 commit into from
Jan 30, 2024
Merged

PADV-731 add institution selector #32

merged 1 commit into from
Jan 30, 2024

Conversation

AuraAlba
Copy link
Contributor

@AuraAlba AuraAlba commented Jan 29, 2024

Ticket

https://agile-jira.pearson.com/browse/PADV-731

Description

Add institution selector

Changes made

Add institution selector
Update files where institution id is necessary
Update services missing institution id
Update test

Screenshots

Screenshot from 2024-01-30 09-42-06

How to test

Clone the Institution Portal MFE
Run npm install.
Run npm run start
Go to http://localhost:1980/dashboard

@@ -11,19 +11,16 @@ import { fetchCoursesData } from 'features/Courses/data/thunks';
import { initialPage } from 'features/constants';

const CoursesPage = () => {
const stateInstitution = useSelector((state) => state.main.institution.data);
const institutionSelected = useSelector((state) => state.main.institutionSelected);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const institutionSelected = useSelector((state) => state.main.institutionSelected);
const selectedInstitution = useSelector((state) => state.main.selectedInstitution);

Could you please change the name of this variable in all modules? @AuraAlba

@AuraAlba AuraAlba merged commit 8540b79 into master Jan 30, 2024
2 checks passed
@AuraAlba AuraAlba deleted the vue/PADV-731 branch January 30, 2024 16:21
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