Compare commits

..

No commits in common. "c2c21d1296c399324cdfa661c490cee79f7e16e1" and "0ae735f2860919dffb957dbc7f556865cd73237e" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View file

@ -89,7 +89,7 @@
} }
.carta-theme__default .carta-icons-menu { .carta-theme__default .carta-icons-menu {
@apply border border-solid border-base-content/30 bg-base-100; @apply border border-solid border-base-content/30;
padding: 6px; padding: 6px;
border-radius: 6px; border-radius: 6px;
min-width: 180px; min-width: 180px;

View file

@ -102,9 +102,7 @@ export function sanitizeHtml(s: string): string {
} }
export function formatPatientName(patient: RouterOutput["patient"]["list"]["items"][0]): string { export function formatPatientName(patient: RouterOutput["patient"]["list"]["items"][0]): string {
let res = `${patient.first_name} ${patient.last_name}`; return `${patient.first_name} ${patient.last_name} (${patient.age})`;
if (patient.age) res += ` (${patient.age})`;
return res;
} }
export function divFloor(a: number, b: number): number { export function divFloor(a: number, b: number): number {