Skip to content

Commit

Permalink
fix(router-view): simplify composition transaction use
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 16, 2016
1 parent b95667e commit 76cdc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router-view.js
Expand Up @@ -78,7 +78,7 @@ export class RouterView {
}

return metadata.load(childContainer, viewModelResource.value, null, viewStrategy, true).then(viewFactory => {
if (!this.compositionTransactionNotifier && !this.compositionTransaction.hasOwner) {
if (!this.compositionTransactionNotifier) {
this.compositionTransactionOwnershipToken = this.compositionTransaction.tryCapture();
}

Expand Down

0 comments on commit 76cdc97

Please sign in to comment.