Skip to content

Commit

Permalink
fix: Remove incompatible version
Browse files Browse the repository at this point in the history
  • Loading branch information
wurstbrot committed Mar 18, 2024
1 parent afa6b04 commit 06acfce
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ export class CircularHeatmapComponent implements OnInit {
}
reColorHeatmap() {
console.log('recolor');
for (var index = 0; index < this.ALL_CARD_DATA.length; index += 1) {
for (var index = 0; index < this.ALL_CARD_DATA.length; index++) {
let cntAll: number = 0;
let cntTrue: number = 0;
var _self = this;
Expand Down Expand Up @@ -756,6 +756,11 @@ export class CircularHeatmapComponent implements OnInit {
}
loadState() {
var content = localStorage.getItem('dataset');
// @ts-ignore
if (this.ALL_CARD_DATA[0]['Task'] != null) {
console.log("Found outdated dataset, removing")
localStorage.removeItem('dataset');
}
if (content != null) {
this.ALL_CARD_DATA = JSON.parse(content);
}
Expand Down

0 comments on commit 06acfce

Please sign in to comment.