Only trigger if record_ids exists.
This commit is contained in:
parent
84ca669ee9
commit
306c4b7017
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ class App.Model extends Spine.Model
|
|||
App.Collection.loadAssets(data.assets)
|
||||
|
||||
# in case of no record_ids are there, no inital render is fired
|
||||
if _.isEmpty(data.record_ids)
|
||||
if data.record_ids && _.isEmpty(data.record_ids)
|
||||
App[@className].trigger('refresh', [])
|
||||
|
||||
# find / load object
|
||||
|
|
Loading…
Reference in a new issue