From dda5973fdc1bbcd0d9e34311226d58f6031b3cc3 Mon Sep 17 00:00:00 2001 From: Luc Mcgrady Date: Sun, 9 Feb 2025 12:53:05 +0000 Subject: [PATCH] Remove forgetting curve radio buttons when only one radio button (#3804) --- ts/routes/card-info/ForgettingCurve.svelte | 54 +++++++++++----------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/ts/routes/card-info/ForgettingCurve.svelte b/ts/routes/card-info/ForgettingCurve.svelte index 47322433a..427d69129 100644 --- a/ts/routes/card-info/ForgettingCurve.svelte +++ b/ts/routes/card-info/ForgettingCurve.svelte @@ -51,9 +51,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
- -
- {#if maxDays > 0} + {#if maxDays > 7} + +
- {/if} - {#if maxDays > 7} - {/if} - {#if maxDays > 30} - - {/if} - {#if maxDays > 365} - - {/if} -
-
+ {#if maxDays > 30} + + {/if} + {#if maxDays > 365} + + {/if} +
+
+ {/if}