Hide Opportunities as nothing is built yet and make company table fully editable (#109)

* Hide Opportunities as nothing is built yet and make company table fully editable

* Fix tests
This commit is contained in:
Charles Bochet
2023-05-06 19:08:47 +02:00
committed by GitHub
parent 760a49c5e3
commit 8c7815af79
12 changed files with 201 additions and 73 deletions

View File

@ -18,6 +18,9 @@ export interface User {
workspace_member?: WorkspaceMember;
}
export type PartialUser = Partial<User> &
Pick<User, 'id' | 'displayName' | 'email'>;
export const mapUser = (user: GraphqlQueryUser): User => {
const mappedUser = {
id: user.id,