From 7963cd610293dcd02b062a8831ece8e1688fd74d Mon Sep 17 00:00:00 2001 From: FOSSit <166911698+FOSSit@users.noreply.github.com> Date: Sat, 13 Apr 2024 17:03:32 +0530 Subject: [PATCH] fix: UI --- src/routes/(protected)/projects/+page.svelte | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/routes/(protected)/projects/+page.svelte b/src/routes/(protected)/projects/+page.svelte index 9b5913f..aae80be 100644 --- a/src/routes/(protected)/projects/+page.svelte +++ b/src/routes/(protected)/projects/+page.svelte @@ -39,7 +39,11 @@ } if (data) { projects = data; - for (let project of projects) project.issues.reverse(); + for (let project of projects) { + project.issues.reverse(); + project.difficulty = + project.difficulty.slice(0, 1).toUpperCase() + project.difficulty.slice(1); + } } }); let view = false; @@ -90,12 +94,12 @@
{project.about}