Replace instances of renderMultiSelectText with getSelectedOptionsText

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

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

  • @aturinske started a discussion: (+1 comment)

    A really great util method; handles all the text logic

Implementation plan

  • frontend replace all instances of renderMultiSelectText with getSelectedOptionsText in ee/app/assets/javascripts/security_orchestration/

Support contact: @aturinske

How to test

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Secure => Policies
  3. Find the dropdown and verify the toggle text works as expected
Edited by 🤖 GitLab Bot 🤖