Skip to content

Commit

Permalink
CORE-1967 Don't attempt to update read-only LocalContexts metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
psarando committed Mar 6, 2024
1 parent 902499f commit 382101e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/metadata/templates/LocalContextsField.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ const LocalContextsField = ({
}),
enabled: !!projectHubURI && !fieldError,
onSuccess: (project) => {
if (!writable) return;

Check failure on line 102 in src/components/metadata/templates/LocalContextsField.js

View workflow job for this annotation

GitHub Actions / build (15.x)

'writable' is not defined

let newValue = avu.value || "";

const projectLabels = [
Expand Down

0 comments on commit 382101e

Please sign in to comment.