Skip to content

Commit

Permalink
chore: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLarouche committed Aug 25, 2023
1 parent c4e8d3a commit eb2915a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/Form/ProjectAttachmentsFormSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ProjectAttachmentsFormSummary: React.FC<Props> = ({
projectRevision
);

// Show diff if it is not the first revision and not view only (rendered from the contacts page)
const renderDiff = /* !isFirstRevision && */ !viewOnly;
// Show diff if it is not view only
const renderDiff = !viewOnly;

// If we are showing the diff then we want to see archived records, otherwise filter out the archived contacts
let attachmentFormChanges =
Expand Down

0 comments on commit eb2915a

Please sign in to comment.