Skip to content

Commit

Permalink
Fix _updateLoadingPromise
Browse files Browse the repository at this point in the history
  • Loading branch information
broerse committed Sep 3, 2018
1 parent 2dbf68f commit c6b6fa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ export default class Relationship {
}

_updateLoadingPromise(promise, content) {
if (this._promiseProxy) {
if (this._promiseProxy && this._promiseProxy.get('isPending')) {
if (content !== undefined) {
this._promiseProxy.set('content', content);
}
Expand Down

0 comments on commit c6b6fa4

Please sign in to comment.