mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-06-04 09:04:42 +00:00
admin dashboard refactoring
This commit is contained in:
+7
@@ -399,6 +399,13 @@ const FunctionHelpers = {
|
||||
}[type]
|
||||
}
|
||||
|
||||
Vue.prototype.$getUserRoleColor = function (role) {
|
||||
return {
|
||||
admin: 'purple',
|
||||
user: 'green',
|
||||
}[role]
|
||||
}
|
||||
|
||||
Vue.prototype.$getTransactionTypeTextColor = function (type) {
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user