You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, when I wrote a LoadRecords component
<LoadRecords
@modelName='podcast-episode'
@params={{hashsort='-position'page=(hashlimit=4)
}}
as |isLoading isError latestEpisodes|>
and passed through this.params from my component into store.loadRecords, the hasOwnProperty check on options.backgroundReload failed. The options object was defined, but it didn't have that method on it. (Strange because native JS objects seem to have it.)
I think we should just use options.backgroundReload !== undefined to see whether the user has passed in something or not.
The text was updated successfully, but these errors were encountered:
For some reason, when I wrote a LoadRecords component
and passed through
this.params
from my component intostore.loadRecords
, thehasOwnProperty
check on options.backgroundReload failed. Theoptions
object was defined, but it didn't have that method on it. (Strange because native JS objects seem to have it.)I think we should just use
options.backgroundReload !== undefined
to see whether the user has passed in something or not.The text was updated successfully, but these errors were encountered: