Follow-up from "[Frontend] Update audit events filter bar to search by username"

The following discussion from !73742 (merged) should be addressed:

  • @nmezzopera started a discussion: (+3 comments)

    @jiaan If you already tried this and we ended up bloating things up let's not go that route, my only feedback here, non blocking one is that we may want to consider extracting the functions that are common into helper utils? Since none of them uses instance properties this seems doable!