diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index dafad40b..ea97ca30 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -113,24 +113,24 @@ import { IIdentifier } from "@veramo/core"; import InfiniteScroll from "@/components/InfiniteScroll"; /** -* Represents data about a project -**/ + * Represents data about a project + **/ interface ProjectData { /** - * Name of the project - **/ + * Name of the project + **/ name: string; /** - * Description of the project - **/ + * Description of the project + **/ description: string; /** - * URL referencing information about the project - **/ + * URL referencing information about the project + **/ handleId: string; /** - * The Identier of the project - **/ + * The Identier of the project + **/ jwtId: string; } @@ -148,10 +148,10 @@ export default class ProjectsView extends Vue { current: IIdentifier; /** - * Core project data loader - * @param url the url used to fetch the data - * @param token Authorization token - **/ + * Core project data loader + * @param url the url used to fetch the data + * @param token Authorization token + **/ async dataLoader(url: string, token: string) { const headers: { [key: string]: string } = { "Content-Type": "application/json", @@ -173,9 +173,9 @@ export default class ProjectsView extends Vue { } /** - * Data loader used by infinite scroller - * @param payload is the flag from the InfiniteScroll indicating if it should load - **/ + * Data loader used by infinite scroller + * @param payload is the flag from the InfiniteScroll indicating if it should load + **/ async loadMoreData(payload: boolean) { if (this.projects.length > 0) { const latestProject = this.projects[this.projects.length - 1]; @@ -209,8 +209,8 @@ export default class ProjectsView extends Vue { } /** - * 'created' hook runs when the Vue instance is first created - **/ + * 'created' hook runs when the Vue instance is first created + **/ async created() { await db.open(); const settings = await db.settings.get(MASTER_SETTINGS_KEY); @@ -231,8 +231,8 @@ export default class ProjectsView extends Vue { } /** - * Handling clicking on the new project button - **/ + * Handling clicking on the new project button + **/ onClickNewProject(): void { localStorage.removeItem("projectId"); const route = {