Skip to content

Commit

Permalink
fix(endLabel): remove check of inner
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Jul 5, 2023
1 parent ca3718a commit dd53fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/line/LineView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ class LineView extends ChartView {
}
if (valueAnimation) {
const inner = labelInner(endLabel);
if (inner && typeof inner.setLabelText === 'function') {
if (typeof inner.setLabelText === 'function') {
inner.setLabelText(value);
}
}
Expand Down

0 comments on commit dd53fc9

Please sign in to comment.