feat: adjust to the new endpoints for editable plan records

This commit is contained in:
2023-01-23 22:14:46 -07:00
parent 4664d697fd
commit 1bedbe17c0
6 changed files with 74 additions and 43 deletions

View File

@@ -96,13 +96,14 @@ export default class ProjectsView extends Vue {
const resp = await this.axios.get(url, { headers });
if (resp.status === 200) {
const claims = resp.data;
console.log("All claims:", claims);
for (let i = 0; i < claims.length; i++) {
console.log(claims[i]);
const claim = claims[i].claim;
const data = {
id: claims[i].id,
name: claim.name,
description: claim.description,
identifier: claim.identifier,
};
this.projects.push(data);
}