diff --git a/src/components/app/app.ts b/src/components/app/app.ts index 0c827d6..2a3525c 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -143,8 +143,9 @@ export default class App extends Vue } else { - // Show error message TODO: Show it properly - alert(response.data); + // Show error message + this.loadingError = true; + this.loading = `Error: Course data failed to load.\n(${response.data})`; } }) .catch(alert);