fixed eslint inconsistent return
This commit is contained in:
parent
bead083c58
commit
89bb7b85ec
|
@ -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;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue