responsive design and bug fixes

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-11-04 10:01:22 +01:00
parent 13618d1fd4
commit f5670253bc
51 changed files with 992 additions and 336 deletions

View File

@@ -0,0 +1,6 @@
import type { Profile } from '@prisma/client';
export function getProfileName(profile: Profile | undefined | null) {
if (!profile) return '';
return [profile.first_name, profile.last_name].filter(Boolean).join(' ');
}