Update Party to not try to update job if not editable
This commit is contained in:
parent
bb8f28a05d
commit
fd45241466
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ const Party = (props: Props) => {
|
|||
}
|
||||
|
||||
function jobChanged() {
|
||||
if (party.id) {
|
||||
if (party.id && appState.party.editable) {
|
||||
api.endpoints.parties.update(
|
||||
party.id,
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue