Skip to content

Commit

Permalink
fix: fix default value issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed May 8, 2020
1 parent b7c94c6 commit 38af640
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ export class LedgeRadarComponent implements OnInit, OnChanges, AfterViewInit {
max: 5,
});

this.buildSeriesData(nameValuesSplit, legend, seriesData);
if (nameValuesSplit.length >= 2) {
this.buildSeriesData(nameValuesSplit, legend, seriesData);
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export class ComponentRatingItemComponent implements OnInit {
this.item.displayName = nameValuesSplit[0];
if (nameValuesSplit.length > 1) {
this.item.chartValue = parseInt(nameValuesSplit[1], 10);
} else {
this.item.chartValue = 3;
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/assets/docs/maturities/devops.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

```maturity
- 敏捷开发管理
- 需求管理
- 过程管理
- 组织模型
- 需求管理: 3
- 过程管理: 3
- 组织模型: 3
```

## 第二部分:持续交付
Expand Down

0 comments on commit 38af640

Please sign in to comment.