showNotificationsModal() {
    const userId = this.props.user.objectId

    if (userId) {
      this.props.getNotifications(userId, true)
    }
  }
/**
   * Load user notifications when modal is shown.
   *
   * @return {void}
   */
Load user notifications when modal is shown.
@return {void}
Load user notifications when modal is shown . @return { void }
showNotificationsModal() {
    const userId = this.props.user.objectId
    if (userId) {
      this.props.getNotifications(userId, true)
    }
  }
showNotificationsModal ( ) { const userId = this . props . user . objectId if ( userId ) { this . props . getNotifications ( userId , true ) } }
Load user notifications when modal is shown.
Load user notifications when modal is shown .