Skip to content

Commit

Permalink
fix(lint): whitespace tslint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdickerson committed Nov 6, 2019
1 parent 6461128 commit 53216f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/axis-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class AxisChart extends Chart {
this.model,
this.services,
[
...((this.model.getOptions().legend.visible !== false) ? [ legendComponent ] :[ ]),
...((this.model.getOptions().legend.visible !== false) ? [ legendComponent ] : [ ]),
graphFrameComponent
],
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class Chart {
this.model,
this.services,
[
...((this.model.getOptions().legend.visible !== false) ? [ legendComponent ] :[ ]),
...((this.model.getOptions().legend.visible !== false) ? [ legendComponent ] : [ ]),
graphFrameComponent
],
{
Expand Down

0 comments on commit 53216f5

Please sign in to comment.