1 parent 674ed67 commit a57804bCopy full SHA for a57804b
1 file changed
src/plugins/avatars.js
@@ -56,7 +56,8 @@ class Avatars {
56
});
57
}
58
59
- if (typeof this.store === 'object' && typeof this.opts.publicPath !== 'string') {
+ if (typeof this.store === 'object' && this.store != null &&
60
+ typeof this.options.publicPath !== 'string') {
61
throw new TypeError('`publicPath` is not set, but it is required because `store` is set.');
62
63
0 commit comments