Skip to content

Commit

Permalink
Update annual_report.component.ts
Browse files Browse the repository at this point in the history
fix #61
  • Loading branch information
hypsug0 authored May 3, 2023
1 parent 2615e76 commit 53be3d4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions frontend/app/dashboard/annual_report/annual_report.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,17 @@ export class AnnualReportComponent implements OnInit {
}

refreshGraphValues() {
this.obsByGroupData = [];
this.obsByGroupData = [
{
data: [],
},
];
this.obsByGroupLabel = [];
this.newSpeciesData = [];
this.newSpeciesData = [
{
data: [],
},
];
this.newSpeciesLabel = [];
}
}

0 comments on commit 53be3d4

Please sign in to comment.