This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async function addDisplayName() { | |
| var flowEnvironmentId = getEnvironmentId(); | |
| var flowIdsAndNames = await getFlowDisplayNames(flowEnvironmentId); | |
| var elements = document.getElementsByClassName("row ng-scope"); | |
| for (var i = 0; i < elements.length; i++) { | |
| var flowIdRegex = />Flow ID: (.+)</; | |
| var flowIdMatch = elements[i].innerHTML.match(flowIdRegex); | |
| if (!flowIdMatch) { | |
| continue; | |
| } |