Skip to content

Commit 8b8ae16

Browse files
committed
Allow independent subviews
Fixes #114
1 parent b0ea633 commit 8b8ae16

File tree

1 file changed

+1
-1
lines changed
  • specifyweb/frontend/js_src/lib/components/Forms

1 file changed

+1
-1
lines changed

specifyweb/frontend/js_src/lib/components/Forms/SubView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function SubView({
231231
formType={formType}
232232
mode={
233233
!isAttachmentMisconfigured &&
234-
relationship.isDependent() &&
234+
(relationship.isDependent() || isButton) &&
235235
initialMode !== 'view'
236236
? 'edit'
237237
: 'view'

0 commit comments

Comments
 (0)