Merge pull request #1311 from eikek/fix/update-fields

Fix initializing new fields from given data
This commit is contained in:
mergify[bot] 2022-01-23 09:26:25 +00:00 committed by GitHub
commit 9a279be313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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