From f184de21a84e95cad2c9c3c8ae79782fdff6da69 Mon Sep 17 00:00:00 2001 From: Bartha Maxime <231026@umons.ac.be> Date: Tue, 16 Apr 2024 11:24:28 +0200 Subject: [PATCH] translate month number to name --- frontend/src/Apps/ScientificPublications/FilterComponent.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Apps/ScientificPublications/FilterComponent.vue b/frontend/src/Apps/ScientificPublications/FilterComponent.vue index 238a31d..f2cb363 100644 --- a/frontend/src/Apps/ScientificPublications/FilterComponent.vue +++ b/frontend/src/Apps/ScientificPublications/FilterComponent.vue @@ -38,7 +38,7 @@ for (let i=0;i< props.allArticles.length;i++) { if (!paperTypeList.value.includes(r.paperType)) paperTypeList.value.push(r.paperType); } -function monthtoString(month){ +function monthToString(month){ switch (month){ case "01": @@ -87,7 +87,7 @@ onClickOutside(target, ()=>emit('modal-close'))