jofaichow commited on
Commit
5842855
1 Parent(s): 8ec8299

fixed a small bug in payout summary DT

Browse files
Files changed (1) hide show
  1. app/app.R +1 -0
app/app.R CHANGED
@@ -536,6 +536,7 @@ server <- function(input, output) {
536
  d_smry <-
537
  react_d_filter() |>
538
  lazy_dt() |>
 
539
  group_by(round, date_open, date_resolved, resolved) |>
540
  summarise(staked_models = n(),
541
  total_stake = sum(stake, na.rm = T),
 
536
  d_smry <-
537
  react_d_filter() |>
538
  lazy_dt() |>
539
+ filter(stake > 0) |>
540
  group_by(round, date_open, date_resolved, resolved) |>
541
  summarise(staked_models = n(),
542
  total_stake = sum(stake, na.rm = T),