Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Niedzielski <[email protected]>
  • Loading branch information
adamwojs and Steveb-p committed Aug 1, 2024
1 parent 42e0a15 commit 91cbd03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
'image-edit-actions-after',
{
'fieldDefinitionIdentifier' : form.parent.vars.value.fieldDefinition.identifier,
'contentId' : content_id|default(app.request.get('contentId')),
'versionNo' : version_no|default(app.request.get('versionNo')),
'contentId' : content_id ?? app.request.get('contentId'),
'versionNo' : version_no ?? app.request.get('versionNo'),
'disabled': readonly ? true : false,
}
) }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
'image-edit-actions-after',
{
'fieldDefinitionIdentifier' : form.parent.vars.value.fieldDefinition.identifier,
'contentId' : content_id|default(app.request.get('contentId')),
'versionNo' : version_no|default(app.request.get('versionNo')),
'contentId' : content_id ?? app.request.get('contentId'),
'versionNo' : version_no ?? app.request.get('versionNo'),
'disabled': readonly ? true : false,
}
) }}
Expand Down

0 comments on commit 91cbd03

Please sign in to comment.