Spaces:
Running
Running
Set default asset to BTC in Leaderboard (matching LiveView)
Browse files
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 |
-
|
|
|
|
| 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)
|