admin dashboard refactoring

This commit is contained in:
Čarodej
2022-01-12 13:58:51 +01:00
parent e1bb4b2cbe
commit 4feba76f57
22 changed files with 1157 additions and 563 deletions

View File

@@ -399,6 +399,13 @@ const FunctionHelpers = {
}[type]
}
Vue.prototype.$getUserRoleColor = function (role) {
return {
admin: 'purple',
user: 'green',
}[role]
}
Vue.prototype.$getTransactionTypeTextColor = function (type) {
return {