|
|
@@ -96,13 +96,13 @@ export default class Notification extends Component {
|
|
|
let count = 0;
|
|
|
switch (index) {
|
|
|
case 0:
|
|
|
- count = this.state.countInfo?.newsUnreadCount;
|
|
|
+ count = this.state.countInfo?.campaignUnreadCount;
|
|
|
break;
|
|
|
case 1:
|
|
|
- count = this.state.countInfo?.campaignUnreadCount;
|
|
|
+ count = this.state.countInfo?.alertUnreadCount;
|
|
|
break
|
|
|
case 2:
|
|
|
- count = this.state.countInfo?.alertUnreadCount;
|
|
|
+ count = this.state.countInfo?.newsUnreadCount;
|
|
|
break;
|
|
|
}
|
|
|
if (count > 0) {
|