diff --git a/web/pages/notifications.tsx b/web/pages/notifications.tsx
index 2f5c0bf9..15863919 100644
--- a/web/pages/notifications.tsx
+++ b/web/pages/notifications.tsx
@@ -971,13 +971,20 @@ function ContractResolvedNotification(props: {
const { sourceText, data } = notification
const { userInvestment, userPayout } = (data as ContractResolutionData) ?? {}
const subtitle = 'resolved the market'
+
const resolutionDescription = () => {
if (!sourceText) return
+
if (sourceText === 'YES' || sourceText == 'NO') {
return
}
+
if (sourceText.includes('%'))
- return
+ return (
+
+ )
if (sourceText === 'CANCEL') return
if (sourceText === 'MKT' || sourceText === 'PROB') return
@@ -996,7 +1003,7 @@ function ContractResolvedNotification(props: {
const description =
userInvestment && userPayout !== undefined ? (
- {resolutionDescription()}
+ Resolved: {resolutionDescription()}
Invested:
{formatMoney(userInvestment)}
Payout:
@@ -1013,7 +1020,7 @@ function ContractResolvedNotification(props: {
) : (
- {resolutionDescription()}
+ Resolved {resolutionDescription()}
)
if (justSummary) {