fix: satisfaction thresold

pull/2908/head
Johan Girod 2024-03-04 11:36:25 +01:00
parent 56811600f9
commit 090385e70a
No known key found for this signature in database
GPG Key ID: B1240EA7FBDBA6AE
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ export function formatProgression(
export function emojiSatisfaction(satisfaction: number) {
return satisfaction > 0.85
? '😀'
: satisfaction > 0.65
: satisfaction > 0.7
? '🙂'
: satisfaction > 0.5
? '😐'
@ -40,7 +40,7 @@ export function emojiSatisfaction(satisfaction: number) {
export function messageTypeSatisfaction(satisfaction: number) {
return satisfaction > 0.85
? 'success'
: satisfaction > 0.65
: satisfaction > 0.7
? 'primary'
: satisfaction > 0.5
? 'info'