Display of toasts for accompanying course + general makeFetch
Description of changes
Toasts are now being displayed when modifying accompanying course. displayToast method is loaded into App.vue and the banner and used after each dispatch to show toast errors if there are any.
Instead of having an api method for each action there is now one general makeFetch method which can be used within every action. Have not succeeded in replacing all the separate methods in api.js yet...
Issues related
No issues
Tests
Currently none (frontend)
Edited by LenaertsJ