Implemented jobline upsert modal. Updated allocations display on jobline edit to include removal.
This commit is contained in:
@@ -9,3 +9,13 @@ export const INSERT_ALLOCATION = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const DELETE_ALLOCATION = gql`
|
||||
mutation DELETE_ALLOCATION($id: uuid!) {
|
||||
delete_allocations(where: { id: { _eq: $id } }) {
|
||||
returning {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user