[+] Log loading before loading courses
This commit is contained in:
@@ -123,6 +123,10 @@ export default class App extends Vue
|
|||||||
*/
|
*/
|
||||||
public loadCoursesAfterLogin()
|
public loadCoursesAfterLogin()
|
||||||
{
|
{
|
||||||
|
// Show loading message
|
||||||
|
this.logLoading('2. Loading courses...');
|
||||||
|
|
||||||
|
// Post request
|
||||||
App.http.post('/courses', {}).then(response =>
|
App.http.post('/courses', {}).then(response =>
|
||||||
{
|
{
|
||||||
// Check success
|
// Check success
|
||||||
|
|||||||
Reference in New Issue
Block a user