[-] Remove disable loading because it is useless
This commit is contained in:
@@ -31,9 +31,6 @@ export default class Login extends Vue
|
|||||||
// Get response body text
|
// Get response body text
|
||||||
res.text().then(text =>
|
res.text().then(text =>
|
||||||
{
|
{
|
||||||
// Disable loading
|
|
||||||
this.loading = false;
|
|
||||||
|
|
||||||
// Call custom event with courses info
|
// Call custom event with courses info
|
||||||
this.$emit('login:courses', JSON.parse(text));
|
this.$emit('login:courses', JSON.parse(text));
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user