Permalink
Browse files

fix: rc11 backward compability

  • Loading branch information...
pi0 committed Dec 29, 2017
1 parent c865a3c commit c0222e9461efa85dd35b5508ba9eef003b0f5b8d
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/templates/auth.plugin.js
@@ -8,10 +8,8 @@ export default async function (context, inject) {
})
// Backward compability for Nuxt <= RC.11
if (!context.store.app) {
context.store.app = {
context
}
if (!context.store.app.context) {
context.store.app.context = context
}
// Fetch initial state

0 comments on commit c0222e9

Please sign in to comment.