Fix and simplify move.

This commit is contained in:
Henrique Dias committed 2017-07-08 11:12:43 +01:00
1 parent af369cdea1
commit 32e66bb9c6
5 files changed
+89 -95

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ export default {
return this.req.kind === 'listing' && !this.loading && this.$route.name === 'Files'
},
showSaveButton () {
return (this.req.kind === 'editor' && !this.loading) || this.$route.name === 'User'
return (this.req.kind === 'editor' && !this.loading)
},
showSwitchButton () {
return this.req.kind === 'listing' && this.$route.name === 'Files' && !this.loading