|
|
@ -43,7 +43,7 @@ class HeaderView extends PureComponent { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
handleNoticeClear = type => { |
|
|
handleNoticeClear = type => { |
|
|
message.success(`${formatMessage({ id: 'component.noticeIcon.cleared' })} ${type}`); |
|
|
message.success(`${formatMessage({ id: 'component.noticeIcon.cleared' })} ${formatMessage({ id: `component.globalHeader.${type}` })}`); |
|
|
const { dispatch } = this.props; |
|
|
const { dispatch } = this.props; |
|
|
dispatch({ |
|
|
dispatch({ |
|
|
type: 'global/clearNotices', |
|
|
type: 'global/clearNotices', |
|
|
|