projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update ownership error check
[arvados-workbench2.git]
/
src
/
models
/
user.ts
diff --git
a/src/models/user.ts
b/src/models/user.ts
index f1780d5db0cc96414c9c6435f17c10554a62ef31..4cc29ba779cc6dfd677c965d0c485e7bc18fb0fe 100644
(file)
--- a/
src/models/user.ts
+++ b/
src/models/user.ts
@@
-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