mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
Updated billing info popup message
no issue - Updates stripe billing info update/cancel message in popup notification
This commit is contained in:
parent
4b3973c105
commit
21fc8ab2b4
@ -208,7 +208,10 @@ export default class App extends React.Component {
|
||||
fetchNotificationData() {
|
||||
const {type, status, duration, autoHide, closeable} = NotificationParser({billingOnly: true}) || {};
|
||||
if (['stripe:billing-update'].includes(type)) {
|
||||
const popupNotification = createPopupNotification({type, status, duration, closeable, autoHide, state: this.state});
|
||||
const popupNotification = createPopupNotification({
|
||||
type, status, duration, closeable, autoHide, state: this.state,
|
||||
message: status === 'success' ? 'Successfully updated Billing info' : 'Billing update was cancelled'
|
||||
});
|
||||
return {
|
||||
showPopup: true,
|
||||
popupNotification
|
||||
|
Loading…
Reference in New Issue
Block a user