From 4c3e2e3d9857cfcf7d729b944b4bc1a3fba23cb2 Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Thu, 30 Nov 2017 15:15:14 -0700 Subject: [PATCH] flip server check bool --- src/shared/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/plugin.js b/src/shared/plugin.js index 4746dae..8e6ff39 100644 --- a/src/shared/plugin.js +++ b/src/shared/plugin.js @@ -55,7 +55,7 @@ export default function VueMeta (Vue, options = {}) { // if computed $metaInfo exists, watch it for updates & trigger a refresh // when it changes (i.e. automatically handle async actions that affect metaInfo) // credit for this suggestion goes to [Sébastien Chopin](https://github.com/Atinux) - if (this.$isServer && this.$metaInfo) { + if (!this.$isServer && this.$metaInfo) { this.$watch('$metaInfo', () => { // batch potential DOM updates to prevent extraneous re-rendering batchID = batchUpdate(batchID, () => this.$meta().refresh())