projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch '16647-Responsible-person'
[arvados.git]
/
src
/
common
/
getuser.ts
1
import { RootState } from '~/store/store';
2
3
export const getUserUuid = (state: RootState) => {
4
const user = state.auth.user;
5
if (user) {
6
return user.uuid;
7
} else {
8
return undefined;
9
}
10
};