diff --git a/src/components/app/app.ts b/src/components/app/app.ts index dc2a59a..d9f3919 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -83,6 +83,21 @@ export default class App extends Vue }); } + /** + * Are assignments ready or not + * + * @returns boolean Ready or not + */ + private isAssignmentsReady(): boolean + { + for (const course of this.courses) + { + if (course.assignments == null) return false; + } + + return true; + } + /** * This is called when a navigation tab is clicked *