clear SharedWithMe.vue view

This commit is contained in:
Čarodej
2021-10-22 09:50:27 +02:00
parent 3fee035e9e
commit cea881ce38
12 changed files with 113 additions and 25 deletions

View File

@@ -217,6 +217,18 @@ const FunctionHelpers = {
}
}
Vue.prototype.$getCurrentSectionName = function () {
return {
'RecentUploads': this.$t('Recent'),
'MySharedItems': this.$t('Shared'),
'Trash': this.$t('Trash'),
'Public': this.$t('Files'),
'Files': this.$t('Files'),
'TeamFolders': this.$t('Team Folders'),
'SharedWithMe': this.$t('Shared With Me'),
}[this.$route.name]
}
Vue.prototype.$goToFileView = function (id) {
let locations = {