transaction UI refactoring

This commit is contained in:
Čarodej
2021-12-30 15:42:09 +01:00
parent 6f5b3c05ad
commit 50abdc3266
6 changed files with 170 additions and 43 deletions

View File

@@ -358,6 +358,13 @@ const FunctionHelpers = {
}[type]
}
Vue.prototype.$getTransactionStatusColor = function (type) {
return {
'completed': 'green',
'error': 'red',
}[type]
}
Vue.prototype.$getTransactionTypeTextColor = function (type) {
return {