Spaces:
Running
Running
Jimin Huang
commited on
Commit
·
e125a31
1
Parent(s):
31fee89
Change settings
Browse files- src/views/LiveView.vue +1 -0
src/views/LiveView.vue
CHANGED
|
@@ -137,6 +137,7 @@ const filteredRows = computed(() =>
|
|
| 137 |
/* --- Build an index of Buy&Hold rows: asset -> [{ts, balance, row}] asc --- */
|
| 138 |
const bhIndex = computed(() => {
|
| 139 |
const idx = new Map()
|
|
|
|
| 140 |
for (const r of (rowsRef.value || [])) {
|
| 141 |
if (!r?.asset) continue
|
| 142 |
const s = (r.strategy || '').toLowerCase()
|
|
|
|
| 137 |
/* --- Build an index of Buy&Hold rows: asset -> [{ts, balance, row}] asc --- */
|
| 138 |
const bhIndex = computed(() => {
|
| 139 |
const idx = new Map()
|
| 140 |
+
console.log(rowsRef.value)
|
| 141 |
for (const r of (rowsRef.value || [])) {
|
| 142 |
if (!r?.asset) continue
|
| 143 |
const s = (r.strategy || '').toLowerCase()
|