file filter icon change

This commit is contained in:
Čarodej
2021-11-02 08:29:59 +01:00
parent 54167ae366
commit b232701783
10 changed files with 74 additions and 18 deletions

View File

@@ -229,6 +229,19 @@ const FunctionHelpers = {
}[this.$route.name]
}
Vue.prototype.$getCurrentSectionIcon = function () {
return {
'RecentUploads': 'upload-cloud',
'MySharedItems': 'share',
'Trash': 'trash2',
'Public': 'hard-drive',
'Files': 'hard-drive',
'TeamFolders': 'users',
'SharedWithMe': 'user-check',
}[this.$router.currentRoute.name]
}
Vue.prototype.$getDataByLocation = function () {
let routes = {