diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index ea97ca306..83bae2a83 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -131,7 +131,7 @@ interface ProjectData { /** * The Identier of the project **/ - jwtId: string; + rowid: string; } @Component({ @@ -163,8 +163,8 @@ export default class ProjectsView extends Vue { if (resp.status === 200) { const plans: ProjectData[] = resp.data.data; for (const plan of plans) { - const { name, description, handleId = plan.fullIri, jwtId } = plan; - this.projects.push({ name, description, handleId, jwtId }); + const { name, description, handleId = plan.fullIri, rowid } = plan; + this.projects.push({ name, description, handleId, rowid }); } } } catch (error) { @@ -179,7 +179,7 @@ export default class ProjectsView extends Vue { async loadMoreData(payload: boolean) { if (this.projects.length > 0) { const latestProject = this.projects[this.projects.length - 1]; - const url = `${this.apiServer}/api/v2/report/plansByIssuer?beforeId=${latestProject.jwtId}`; + const url = `${this.apiServer}/api/v2/report/plansByIssuer?beforeId=${latestProject.rowid}`; const token = await accessToken(this.current); await this.dataLoader(url, token); }