Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-05 11:50:48 +0300
committerPhil Hughes <me@iamphill.com>2018-06-06 13:19:29 +0300
commit95b3ff056fb9edabef6c512c5de353c5c4a8bcb3 (patch)
tree3799f570c040f558c0281be10f5d8cc6a6b9758e /app/assets/javascripts
parentf8d8b63f32176975c802313d966fb81c2bb2122a (diff)
fixed mutations spec
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/vue_shared/components/tabs/tab.vue4
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>