Fix initializing new fields from given data

This commit is contained in:
eikek
2022-01-23 10:09:49 +01:00
parent 5b5a25ac72
commit e847b58692
2 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@ initWith flags channel =
| channel = Data.NotificationChannel.setTypeMail channel | channel = Data.NotificationChannel.setTypeMail channel
, recipients = channel.recipients , recipients = channel.recipients
, connectionModel = cm , connectionModel = cm
, name = channel.name
} }
, mc , mc
) )

View File

@ -116,7 +116,7 @@ initWith flags s =
, queryModel = res.model , queryModel = res.model
, channelModel = cfm , channelModel = cfm
, bookmarkDropdown = bm , bookmarkDropdown = bm
, contentStart = Nothing , contentStart = s.contentStart
, formState = FormStateInitial , formState = FormStateInitial
, loading = 0 , loading = 0
, summary = s.summary , summary = s.summary