diff options
author | Phil Hughes <me@iamphill.com> | 2018-06-05 11:50:48 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-06 13:19:29 +0300 |
commit | 95b3ff056fb9edabef6c512c5de353c5c4a8bcb3 (patch) | |
tree | 3799f570c040f558c0281be10f5d8cc6a6b9758e /app/assets/javascripts | |
parent | f8d8b63f32176975c802313d966fb81c2bb2122a (diff) |
fixed mutations spec
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/tabs/tab.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/tabs/tab.vue b/app/assets/javascripts/vue_shared/components/tabs/tab.vue index 0ec7a0199fe..9b2f46186ac 100644 --- a/app/assets/javascripts/vue_shared/components/tabs/tab.vue +++ b/app/assets/javascripts/vue_shared/components/tabs/tab.vue @@ -27,7 +27,9 @@ export default { this.isTab = true; }, updated() { - this.$parent.$forceUpdate(); + if (this.$parent) { + this.$parent.$forceUpdate(); + } }, }; </script> |