Always show custom field dropdown in detail mode

Even if there are no custom fields define, the control is shown now.
The user can create a new one in this view.
This commit is contained in:
Eike Kettner
2021-02-14 23:34:18 +01:00
parent dec6148df6
commit a10971607e
3 changed files with 6 additions and 4 deletions

View File

@ -1149,7 +1149,7 @@ tabState : UiSettings -> Model -> TB.Tab Msg -> ( TB.State, Msg )
tabState settings model tab =
FTabState.tabState settings
model.openTabs
model.customFieldModel
(Just model.customFieldModel)
(.title >> ToggleAkkordionTab)
tab