Skip to content

Commit b9be8e3

Browse files
committed
chore: formatting
1 parent 6beb0ba commit b9be8e3

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/components/date-picker/date-picker.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ export default class TerraDatePicker extends TerraElement {
488488
this.isOpen = false
489489
}
490490

491-
private formatDisplayDate(date: Date | null, isStart: boolean = true): string {
491+
private formatDisplayDate(date: Date | null, _isStart: boolean = true): string {
492492
if (!date) return ''
493493

494494
// Get the format to use

src/components/time-average-map/time-average-map.component.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ export default class TerraTimeAverageMap extends TerraElement {
548548
if (
549549
this.catalogVariable.dataProductTimeInterval &&
550550
this.catalogVariable.dataProductTimeInterval.toLowerCase() !==
551-
'not applicable'
551+
'not applicable'
552552
) {
553553
parts.push(this.catalogVariable.dataProductTimeInterval)
554554
}
@@ -557,7 +557,7 @@ export default class TerraTimeAverageMap extends TerraElement {
557557
if (
558558
this.catalogVariable.dataProductSpatialResolution &&
559559
this.catalogVariable.dataProductSpatialResolution.toLowerCase() !==
560-
'not applicable'
560+
'not applicable'
561561
) {
562562
parts.push(this.catalogVariable.dataProductSpatialResolution)
563563
}
@@ -1225,14 +1225,14 @@ export default class TerraTimeAverageMap extends TerraElement {
12251225
<div class="stats" id="statsMax">${this.max}</div>
12261226
<div class="palette">
12271227
${this.legendValues.map(
1228-
value => html`
1228+
value => html`
12291229
<div
12301230
class="color-box"
12311231
style="background-color: rgba(${value.rgb})"
12321232
title="${value.value}"
12331233
></div>
12341234
`
1235-
)}
1235+
)}
12361236
</div>
12371237
<div class="stats" id="statsMin">${this.min}</div>
12381238
</div>
@@ -1255,10 +1255,10 @@ export default class TerraTimeAverageMap extends TerraElement {
12551255
12561256
<!-- Floating Popover for Plot -->
12571257
${this.toggleState &&
1258-
this.plotData &&
1259-
Object.keys(this.plotData).length &&
1260-
this.layout &&
1261-
Object.keys(this.layout).length
1258+
this.plotData &&
1259+
Object.keys(this.plotData).length &&
1260+
this.layout &&
1261+
Object.keys(this.layout).length
12621262
? html`
12631263
<div class="plot-popover ${this.minimized ? 'minimized' : ''}">
12641264
<terra-plot
@@ -1281,7 +1281,7 @@ export default class TerraTimeAverageMap extends TerraElement {
12811281
12821282
<dialog
12831283
?open=${this.#controller?.jobStatusTask?.status ===
1284-
TaskStatus.PENDING}
1284+
TaskStatus.PENDING}
12851285
>
12861286
<terra-loader indeterminate variant="orbit"></terra-loader>
12871287
<p>Plotting ${this.catalogVariable?.dataFieldId}&hellip;</p>

src/components/variable-combobox/variable-combobox.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default class TerraVariableCombobox extends TerraElement {
201201
this.emit('terra-combobox-change', { detail: JSON.parse(stringifiedData) })
202202
}
203203

204-
#handleButtonClick = (e: Event) => {
204+
#handleButtonClick = () => {
205205
this.isExpanded = !this.isExpanded
206206
this.#combobox?.focus()
207207
}

src/metadata-catalog/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export type CmrSamplingOfGranules = {
105105
lastGranules: {
106106
count: number
107107
items: Array<{
108-
dataGranule: CmrGranuleDataGranul
108+
dataGranule: CmrGranuleDataGranule
109109
temporalExtent: TemporalExtent
110110
spatialExtent?: {
111111
granuleSpatialRepresentation: string

0 commit comments

Comments
 (0)