lfqian commited on
Commit
c56bcdf
·
1 Parent(s): 9b0c947

Set default asset to BTC in Leaderboard (matching LiveView)

Browse files
Files changed (1) hide show
  1. src/views/LeaderboardView.vue +2 -1
src/views/LeaderboardView.vue CHANGED
@@ -185,7 +185,8 @@ export default {
185
  this.filters.names = state.nameOptions.map(o => o.value)
186
  }
187
  if (!this.filters.assets.length && state.assetOptions.length) {
188
- this.filters.assets = state.assetOptions.map(o => o.value)
 
189
  }
190
  if (!this.filters.models.length && state.modelOptions.length) {
191
  this.filters.models = state.modelOptions.map(o => o.value)
 
185
  this.filters.names = state.nameOptions.map(o => o.value)
186
  }
187
  if (!this.filters.assets.length && state.assetOptions.length) {
188
+ // Default to BTC (matching LiveView default)
189
+ this.filters.assets = ['BTC']
190
  }
191
  if (!this.filters.models.length && state.modelOptions.length) {
192
  this.filters.models = state.modelOptions.map(o => o.value)