Skip to content

Commit dd53fc9

Browse files
committed
fix(endLabel): remove check of inner
1 parent ca3718a commit dd53fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chart/line/LineView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ class LineView extends ChartView {
13001300
}
13011301
if (valueAnimation) {
13021302
const inner = labelInner(endLabel);
1303-
if (inner && typeof inner.setLabelText === 'function') {
1303+
if (typeof inner.setLabelText === 'function') {
13041304
inner.setLabelText(value);
13051305
}
13061306
}

0 commit comments

Comments
 (0)