Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
airenzp authored and xzhou82 committed Oct 16, 2024
1 parent c1596a8 commit af8a146
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions client/plots/profilePlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,15 @@ export class profilePlot {
}
}
}
inputs.unshift({
label: 'Site',
type: 'dropdown',
chartType,
options: this.sites,
settingsKey: 'site',
callback: value => this.setSite(value)
})
if (this.sites)
inputs.unshift({
label: 'Site',
type: 'dropdown',
chartType,
options: this.sites,
settingsKey: 'site',
callback: value => this.setSite(value)
})
}

setFilterValue(key, value) {
Expand Down

0 comments on commit af8a146

Please sign in to comment.