From e7b145a02f71ce9a6116091c8928072116c04550 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Wed, 22 Feb 2023 16:57:58 +0100 Subject: [PATCH] fix: aggiunta un'altra patch per i nomi dei delle aule --- src/utils.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils.jsx b/src/utils.jsx index 1134993..8c2d7ab 100644 --- a/src/utils.jsx +++ b/src/utils.jsx @@ -48,7 +48,10 @@ export function prettyCourseName(name) { } export function prettyAulaName(name) { - return name.replace('FIB', 'Fib').replace(/([A-Z0-9])\-LAB/, 'Lab $1') + return name + .replace('FIB', 'Fib') + .replace('RIUNIONI', 'Riunioni') + .replace(/([A-Z0-9])\-LAB/, 'Lab $1') } export function prettyProfName(nome, cognome) {