mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
transaction UI refactoring
This commit is contained in:
7
resources/js/helpers/functionHelpers.js
vendored
7
resources/js/helpers/functionHelpers.js
vendored
@@ -358,6 +358,13 @@ const FunctionHelpers = {
|
||||
}[type]
|
||||
}
|
||||
|
||||
Vue.prototype.$getTransactionStatusColor = function (type) {
|
||||
return {
|
||||
'completed': 'green',
|
||||
'error': 'red',
|
||||
}[type]
|
||||
}
|
||||
|
||||
Vue.prototype.$getTransactionTypeTextColor = function (type) {
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user