Merge branch 'master' into 13817-runtime-app-configuration
[arvados-workbench2.git] / src / models / user.ts
index f1780d5db0cc96414c9c6435f17c10554a62ef31..4cc29ba779cc6dfd677c965d0c485e7bc18fb0fe 100644 (file)
@@ -6,4 +6,10 @@ export interface User {
     email: string;
     firstName: string;
     lastName: string;
+    uuid: string;
+    ownerUuid: string;
 }
+
+export const getUserFullname = (user?: User) => {
+    return user ? `${user.firstName} ${user.lastName}` : "";
+};
\ No newline at end of file