diff --git a/frontend/src/user-notifications.js b/frontend/src/user-notifications.js index 90279dc97e..048a8afb71 100644 --- a/frontend/src/user-notifications.js +++ b/frontend/src/user-notifications.js @@ -155,8 +155,8 @@ class UserNotificationsDialog extends React.Component { this.props.onNotificationDialogToggle(); }; - tabItemClick = (e) => { - let tab = e.target.getAttribute('value'); + tabItemClick = (tab) => { + if (tab === this.state.activeTab) return; this.setState({ activeTab: tab, currentPage: 1 @@ -217,15 +217,25 @@ class UserNotificationsDialog extends React.Component {