mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
Fix initializing new fields from given data
This commit is contained in:
parent
5b5a25ac72
commit
e847b58692
@ -74,6 +74,7 @@ initWith flags channel =
|
||||
| channel = Data.NotificationChannel.setTypeMail channel
|
||||
, recipients = channel.recipients
|
||||
, connectionModel = cm
|
||||
, name = channel.name
|
||||
}
|
||||
, mc
|
||||
)
|
||||
|
@ -116,7 +116,7 @@ initWith flags s =
|
||||
, queryModel = res.model
|
||||
, channelModel = cfm
|
||||
, bookmarkDropdown = bm
|
||||
, contentStart = Nothing
|
||||
, contentStart = s.contentStart
|
||||
, formState = FormStateInitial
|
||||
, loading = 0
|
||||
, summary = s.summary
|
||||
|
Loading…
x
Reference in New Issue
Block a user