Skip to content

Commit

Permalink
fix: feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian authored Jul 5, 2023
1 parent 7bc1380 commit 4ee997b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions feedbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,13 @@ module.exports = {
},

feedbackStatus : function(feedback, bank, val) {
var ret = {}

if ( this.fdbState[val] ) {
ret = {
return {
color: feedback.options.fg,
bgcolor: feedback.options.bg
}
} else {
ret = {
color: bank.color,
bgcolor: bank.bgcolor
}
return {}
}

return ret
},
}

0 comments on commit 4ee997b

Please sign in to comment.