Skip to content

Commit

Permalink
fix: Check this.i18n before this.i18n.seo
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgv committed Apr 29, 2018
1 parent bc9479a commit 0618f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Vue.mixin({
this.$i18n &&
this.$i18n.locales &&
this.i18n !== false &&
this.i18n.seo !== false &&
(typeof this.i18n === 'undefined' || this.i18n.seo !== false) &&
this._hasMetaInfo
) {
const LOCALE_CODE_KEY = '<%= options.LOCALE_CODE_KEY %>'
Expand Down

0 comments on commit 0618f65

Please sign in to comment.