mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-09 17:09:33 +00:00
Merge pull request #1311 from eikek/fix/update-fields
Fix initializing new fields from given data
This commit is contained in:
commit
9a279be313
@ -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
|
||||||
)
|
)
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user