We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15e0054 + 1aa17a7 commit c347d2eCopy full SHA for c347d2e
components/BuyLinksView/BuyLinksTable.js
@@ -69,9 +69,11 @@ class BuyLinksTable extends React.Component {
69
totalPages: response.data.pagesInfo.pageCount
70
})
71
}).catch((error) => {
72
+ let titleText = error.response.data.invalidCoupon ? error.response.data.invalidCoupon
73
+ : 'Error while fetching buy links!'
74
Swal.fire({
75
type: 'error',
- title: 'Error while fetching buy links!',
76
+ title: titleText,
77
text: error
78
});
79
this.setState({
0 commit comments