dashboard: fix server imports in client

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-19 23:33:15 +01:00
parent ffed9bfaa5
commit 2469c6e1b8
5 changed files with 10 additions and 8 deletions

View File

@@ -218,8 +218,3 @@ export async function upsertProfile({
],
});
}
export function getProfileName(profile: IServiceProfile | undefined | null) {
if (!profile) return 'No name';
return [profile.firstName, profile.lastName].filter(Boolean).join(' ');
}