diff --git a/src/components/login/login.ts b/src/components/login/login.ts index 0b729c6..91ca99b 100644 --- a/src/components/login/login.ts +++ b/src/components/login/login.ts @@ -32,6 +32,12 @@ export default class Login extends Vue this.$emit('login:courses', JSON.parse(text)); }) }) - .catch(alert); + .catch(err => + { + alert(err); + + // Allow the user to retry + this.loading = false; + }); } }