mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +08:00
fix(SFDC): fix bug where opening new file would cause attachments to fail
This commit is contained in:
parent
4e40c0c55d
commit
19560f1e99
|
@ -585,8 +585,8 @@ Utils =
|
||||||
for commaPath in commaPaths
|
for commaPath in commaPaths
|
||||||
joinedVals = []
|
joinedVals = []
|
||||||
paths = commaPath.split("+")
|
paths = commaPath.split("+")
|
||||||
for path in paths
|
for filePath in paths
|
||||||
parts = path.split(".")
|
parts = filePath.split(".")
|
||||||
curVal = model
|
curVal = model
|
||||||
for part in parts
|
for part in parts
|
||||||
if _.isFunction(curVal[part])
|
if _.isFunction(curVal[part])
|
||||||
|
|
Loading…
Reference in a new issue