diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-23 19:15:09 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-28 16:08:32 +0300 |
commit | 89bb7b85ec1479cd46f758512891714d81eeb807 (patch) | |
tree | 10a6fdc828081317470496f882f796308ec8a20f /app/assets/javascripts/ide/components/repo_tabs.vue | |
parent | bead083c58b2523563b015624948a79e27a23961 (diff) |
fixed eslint inconsistent return
Diffstat (limited to 'app/assets/javascripts/ide/components/repo_tabs.vue')
-rw-r--r-- | app/assets/javascripts/ide/components/repo_tabs.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/components/repo_tabs.vue b/app/assets/javascripts/ide/components/repo_tabs.vue index e3c9ee71bf2..acbb43e867d 100644 --- a/app/assets/javascripts/ide/components/repo_tabs.vue +++ b/app/assets/javascripts/ide/components/repo_tabs.vue @@ -35,8 +35,7 @@ export default { updated() { if (!this.$refs.tabsScroller) return; - this.showShadow = - this.$refs.tabsScroller.scrollWidth > this.$refs.tabsScroller.offsetWidth; + this.showShadow = this.$refs.tabsScroller.scrollWidth > this.$refs.tabsScroller.offsetWidth; }, methods: { ...mapActions(['updateViewer', 'removePendingTab']), @@ -48,6 +47,8 @@ export default { router.push(`/project${this.activeFile.url}`); }); } + + return null; }, }, }; |