fix: fix auto-collapse title for viewing trainwreck txn

This commit is contained in:
Lance Edgar 2024-07-16 21:21:43 -05:00
parent 3aafe578f0
commit e88b8fc9bc
2 changed files with 2 additions and 1 deletions

View file

@ -47,7 +47,7 @@
</span>
&nbsp;
<strong>Transaction Header</strong>
<strong>${main_form_title}</strong>
</div>
</template>
<div class="panel-block">

View file

@ -270,6 +270,7 @@ class TransactionView(MasterView):
kwargs['custorder_xref_markers_data'] = markers
# collapse header
kwargs['main_form_title'] = "Transaction Header"
kwargs['main_form_collapsible'] = True
kwargs['main_form_autocollapse'] = config.get_bool(
'tailbone.trainwreck.view_txn.autocollapse_header',