flagReject (event, message, mode) {
    let scope = this
    flagRejectEvent(event, message, mode, 'AD', this.props.user)
    const { myArrx } = scope.state
    delete myArrx[event.key]
    scope.setState({ myArrx })
    scope.setState({ SnackBarmessage: 'Event successfully flagged', openSnackBar: true })
    this.setState({ FlagDialogOpen: false })
    this.nextEvent()
  }
// do flag/reject call to dbService
do flag/reject call to dbService
do flag / reject call to dbService
flagReject (event, message, mode) {
    let scope = this
    flagRejectEvent(event, message, mode, 'AD', this.props.user)
    const { myArrx } = scope.state
    delete myArrx[event.key]
    scope.setState({ myArrx })
    scope.setState({ SnackBarmessage: 'Event successfully flagged', openSnackBar: true })
    this.setState({ FlagDialogOpen: false })
    this.nextEvent()
  }
flagReject ( event , message , mode ) { let scope = this flagRejectEvent ( event , message , mode , 'AD' , this . props . user ) const { myArrx } = scope . state delete myArrx [ event . key ] scope . setState ( { myArrx } ) scope . setState ( { SnackBarmessage : 'Event successfully flagged' , openSnackBar : true } ) this . setState ( { FlagDialogOpen : false } ) this . nextEvent ( ) }
do flag/reject call to dbService
do flag / reject call to dbService