mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
admin dashboard refactoring
This commit is contained in:
7
resources/js/helpers/functionHelpers.js
vendored
7
resources/js/helpers/functionHelpers.js
vendored
@@ -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