Skip to content

Commit

Permalink
fix small bug in widget mixin (#1013)
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Nusser <hubsif@gmx.de>
  • Loading branch information
hubsif authored Apr 22, 2021
1 parent ab99bf7 commit 8040f28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default {
}
},
mounted () {
if (this.context.component.config && this.context.component.config.stylesheet) {
if (this.context && this.context.component.config && this.context.component.config.stylesheet) {
this.cssUid = 'scoped-' + this.$f7.utils.id()

this.$el.classList.add(this.cssUid)
Expand Down

0 comments on commit 8040f28

Please sign in to comment.