Skip to content

Commit

Permalink
chore(#158): reduce fetch flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed May 11, 2022
1 parent 351a6ee commit 425d692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/druxt/src/components/DruxtModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export default {
}
// Return only wrapper if fetch state is still pending.
if (this.$fetchState.pending && this.component.is === 'DruxtWrapper') {
if (this.model === undefined && this.$fetchState.pending && this.component.is === 'DruxtWrapper') {
return h((this.wrapper || {}).component || 'div', wrapperData)
}
Expand Down

0 comments on commit 425d692

Please sign in to comment.