Skip to content

Commit

Permalink
Merge pull request #266 from nationalarchives/fix/show-view-judgment-…
Browse files Browse the repository at this point in the history
…on-editpage

Set "is_editable" to True on the edit view
  • Loading branch information
dragon-dxw authored Jul 7, 2022
2 parents 2cb2201 + f00ec7d commit 0d87f02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions judgments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def get_metadata(self, uri: str, judgment: ET.Element) -> dict:
)
meta["source_name"] = api_client.get_property(uri, "source-name")
meta["source_email"] = api_client.get_property(uri, "source-email")
meta["is_editable"] = True
except JudgmentMissingMetadataError:
meta[
"error"
Expand Down

0 comments on commit 0d87f02

Please sign in to comment.