There was an error while loading. Please reload this page.
1 parent 7111535 commit 0c5d34aCopy full SHA for 0c5d34a
2 files changed
app/src/views/AccountNotifications/EmailPreferences/SubscriptionModal/i18n.json
@@ -20,6 +20,7 @@
20
"countriesSelectedLabel": "{numCountries} {countryLabel} selected",
21
"countryLabelSingular": "country",
22
"countryLabelPlural": "countries",
23
- "unlimitedOptionValue": "Unlimited"
+ "unlimitedOptionValue": "No limit",
24
+ "detailFetchFailureMessage": "Failed to fetch subscription details"
25
}
26
app/src/views/AccountNotifications/EmailPreferences/SubscriptionModal/index.tsx
@@ -122,7 +122,12 @@ function SubscriptionModal(props: Props) {
122
}),
123
);
124
},
125
- // TODO: handle failure
+ onFailure: () => {
126
+ alert.show(
127
+ strings.updateFailureMessage,
128
+ { variant: 'danger' },
129
+ );
130
+ },
131
});
132
133
const {
0 commit comments