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}