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.
1 parent 15e0054 commit 1aa17a7Copy full SHA for 1aa17a7
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