projects
/
arvados-workbench2.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
15012: Don't show Completed processes as Cancelled when priority=0.
[arvados-workbench2.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
};