Commit 89bb7b85 authored by Phil Hughes's avatar Phil Hughes

fixed eslint inconsistent return

parent bead083c
...@@ -35,8 +35,7 @@ export default { ...@@ -35,8 +35,7 @@ export default {
updated() { updated() {
if (!this.$refs.tabsScroller) return; if (!this.$refs.tabsScroller) return;
this.showShadow = this.showShadow = this.$refs.tabsScroller.scrollWidth > this.$refs.tabsScroller.offsetWidth;
this.$refs.tabsScroller.scrollWidth > this.$refs.tabsScroller.offsetWidth;
}, },
methods: { methods: {
...mapActions(['updateViewer', 'removePendingTab']), ...mapActions(['updateViewer', 'removePendingTab']),
...@@ -48,6 +47,8 @@ export default { ...@@ -48,6 +47,8 @@ export default {
router.push(`/project${this.activeFile.url}`); router.push(`/project${this.activeFile.url}`);
}); });
} }
return null;
}, },
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment