refactoring part 1

This commit is contained in:
Peter Papp
2021-08-23 09:32:21 +02:00
parent a926545146
commit cc0436b8f3
8 changed files with 54 additions and 59 deletions

View File

@@ -115,9 +115,7 @@
return activeIndex
},
canShareItem() {
return this.$isThisLocation([
'base', 'latest', 'shared'
])
return this.$isThisRoute(this.$route, ['Files', 'RecentUploads', 'MySharedItems'])
},
},
methods: {