Merge pull request #9193 from Konstantinos07/patch-11

remove "ongoing" from download form
This commit is contained in:
Thibault Duplessis 2021-06-16 07:41:23 +02:00 committed by GitHub
commit ebe676094a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,6 @@ object download {
opponent,
mode,
analysis,
ongoing,
perfToggles(user),
includeToggles,
amount,
@ -121,10 +120,6 @@ object download {
)
)
private def ongoing(implicit ctx: Context): Frag = tr(
th(label(`for` := "dl-ongoing")(trans.currentGames())),
td(form3.cmnToggle("dl-ongoing", "ongoing", false))
)
private def perfToggles(user: User)(implicit ctx: Context): Frag = {
val perfTypes = lila.rating.PerfType.nonPuzzle