Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourget authored and mbarbeau committed Aug 7, 2020
1 parent 986dac5 commit b67058d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class EntityTableComponent implements OnInit, OnDestroy {
window.getSelection().addRange(range);
event.stopImmediatePropagation();

const records = this.store.stateView.all()
const records = this.store.stateView.all();
const recordIndex = records.indexOf(record);
const lastRecordChecked = this.store.stateView.get(this.lastRecordCheckedKey);
const lastRecordIndex = records.indexOf(lastRecordChecked);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class GeometryFormFieldInputComponent implements OnInit, OnDestroy, Contr
}
this._drawStyle = value;

var olGuideStyle = this.getGuideStyleFromDrawStyle(value);
const olGuideStyle = this.getGuideStyleFromDrawStyle(value);
if (olGuideStyle !== undefined) {
this.defaultDrawStyleRadius = olGuideStyle.getImage().getRadius();
} else {
Expand Down Expand Up @@ -547,7 +547,7 @@ export class GeometryFormFieldInputComponent implements OnInit, OnDestroy, Contr
* @param resolution Resolution (to make the screen size of symbol fit the drawGuide value)
*/
private updateDrawStyleWithDrawGuide(olStyle: OlStyle, resolution: number) {
var olGuideStyle = this.getGuideStyleFromDrawStyle(olStyle);
const olGuideStyle = this.getGuideStyleFromDrawStyle(olStyle);
if (olGuideStyle === undefined) {
return;
}
Expand Down

0 comments on commit b67058d

Please sign in to comment.