-
Notifications
You must be signed in to change notification settings - Fork 4
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
[DUOS-2825] Replace institution id with name in /datalibrary/myinstitution page #2416
[DUOS-2825] Replace institution id with name in /datalibrary/myinstitution page #2416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment below:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
src/pages/DatasetSearch.js
Outdated
@@ -48,6 +48,7 @@ export const DatasetSearch = (props) => { | |||
const [loading, setLoading] = useState(true); | |||
const user = Storage.getCurrentUser(); | |||
const institution = user.institution?.id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe switch this to institutionId
for consistency and correctness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
Addresses
https://broadworkbench.atlassian.net/browse/DUOS-2825
Summary
Have you read Terra's Contributing Guide lately? If not, do that first.