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

fixed eslint inconsistent return

parent bead083c
......@@ -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;
},
},
};
......
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