From fd45241466ad68da814d074924fa523f07522e15 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 16 Nov 2022 03:49:37 -0800 Subject: [PATCH] Update Party to not try to update job if not editable --- components/Party/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Party/index.tsx b/components/Party/index.tsx index 7f63e547..c01f6829 100644 --- a/components/Party/index.tsx +++ b/components/Party/index.tsx @@ -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, {