-
Notifications
You must be signed in to change notification settings - Fork 14
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
BC-4783 Migrate GET endpoints of school API #2847
Conversation
src/store/schools.ts
Outdated
this.setSystems(responses.map((response) => response.data)); | ||
this.setLoading(false); | ||
} catch (error: unknown) { | ||
if (error instanceof AxiosError) { |
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.
Sollte der Nutzer nicht auch im else Fall über ein Error informiert werden? Nur loading auf false setzten klinkt nicht richtig.
Es sollte sich ja nur das Error Format unterschieden.
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.
Ich find das auch komisch, aber das seh ich nicht als Teil dieses PRs, das zu ändern.
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Short Description
Links to Ticket and related Pull-Requests
https://ticketsystem.dbildungscloud.de/browse/BC-4783
hpi-schul-cloud/schulcloud-server#4440
hpi-schul-cloud/schulcloud-client#3315
Changes
Data-security
Deployment
New Repos, NPM packages or vendor scripts
Screenshots of UI changes
Checklist before merging