forked from trent_larson/crowd-funder-for-time-pwa
change comment whitespace to get past lint errors
This commit is contained in:
@@ -113,24 +113,24 @@ import { IIdentifier } from "@veramo/core";
|
|||||||
import InfiniteScroll from "@/components/InfiniteScroll";
|
import InfiniteScroll from "@/components/InfiniteScroll";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents data about a project
|
* Represents data about a project
|
||||||
**/
|
**/
|
||||||
interface ProjectData {
|
interface ProjectData {
|
||||||
/**
|
/**
|
||||||
* Name of the project
|
* Name of the project
|
||||||
**/
|
**/
|
||||||
name: string;
|
name: string;
|
||||||
/**
|
/**
|
||||||
* Description of the project
|
* Description of the project
|
||||||
**/
|
**/
|
||||||
description: string;
|
description: string;
|
||||||
/**
|
/**
|
||||||
* URL referencing information about the project
|
* URL referencing information about the project
|
||||||
**/
|
**/
|
||||||
handleId: string;
|
handleId: string;
|
||||||
/**
|
/**
|
||||||
* The Identier of the project
|
* The Identier of the project
|
||||||
**/
|
**/
|
||||||
jwtId: string;
|
jwtId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -148,10 +148,10 @@ export default class ProjectsView extends Vue {
|
|||||||
current: IIdentifier;
|
current: IIdentifier;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Core project data loader
|
* Core project data loader
|
||||||
* @param url the url used to fetch the data
|
* @param url the url used to fetch the data
|
||||||
* @param token Authorization token
|
* @param token Authorization token
|
||||||
**/
|
**/
|
||||||
async dataLoader(url: string, token: string) {
|
async dataLoader(url: string, token: string) {
|
||||||
const headers: { [key: string]: string } = {
|
const headers: { [key: string]: string } = {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
@@ -173,9 +173,9 @@ export default class ProjectsView extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Data loader used by infinite scroller
|
* Data loader used by infinite scroller
|
||||||
* @param payload is the flag from the InfiniteScroll indicating if it should load
|
* @param payload is the flag from the InfiniteScroll indicating if it should load
|
||||||
**/
|
**/
|
||||||
async loadMoreData(payload: boolean) {
|
async loadMoreData(payload: boolean) {
|
||||||
if (this.projects.length > 0) {
|
if (this.projects.length > 0) {
|
||||||
const latestProject = this.projects[this.projects.length - 1];
|
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() {
|
async created() {
|
||||||
await db.open();
|
await db.open();
|
||||||
const settings = await db.settings.get(MASTER_SETTINGS_KEY);
|
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 {
|
onClickNewProject(): void {
|
||||||
localStorage.removeItem("projectId");
|
localStorage.removeItem("projectId");
|
||||||
const route = {
|
const route = {
|
||||||
|
|||||||
Reference in New Issue
Block a user