bugfix:Dataform throwing error

This commit is contained in:
Michael Shanks 2020-06-21 06:01:29 +01:00
parent af0ed48774
commit ff2c2340e2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
const json = await response.json() const json = await response.json()
store.update(state => { store.update(state => {
state[model._id] = [...state[model], json] state[model] = state[model] ? [...state[model], json] : [json]
return state return state
}) })
} }