fixed eslint inconsistent return

This commit is contained in:
Phil Hughes 2018-03-23 16:15:09 +00:00
parent bead083c58
commit 89bb7b85ec
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 3 additions and 2 deletions

View File

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