Skip to content

Commit

Permalink
fix(MessageViewButton): correct tooltips (#6766)
Browse files Browse the repository at this point in the history
Fixes #6594
  • Loading branch information
Lukas742 authored Jan 7, 2025
1 parent 1721382 commit de4608f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/main/src/components/MessageViewButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ const getTypes = (type: MessageViewButtonProptypes['type']): Types => {
case ValueState.Negative:
return { icon: errorIcon, i18nLabel: ERROR_TYPE };
case ValueState.Positive:
return { icon: sysEnter2Icon, i18nLabel: WARNING_TYPE };
return { icon: sysEnter2Icon, i18nLabel: SUCCESS_TYPE };
case ValueState.Critical:
return { icon: alertIcon, i18nLabel: INFORMATION_TYPE };
return { icon: alertIcon, i18nLabel: WARNING_TYPE };
default:
return { icon: informationIcon, i18nLabel: SUCCESS_TYPE };
return { icon: informationIcon, i18nLabel: INFORMATION_TYPE };
}
};

Expand Down

0 comments on commit de4608f

Please sign in to comment.