wip event list

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-15 21:29:45 +01:00
parent 1328825e7c
commit a74acda707
29 changed files with 995 additions and 883 deletions

View File

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