[TE] Fix bug that user cannot find subscription group for some application name
User experienced the bug that they cannot find the subscription groups they already created for some applications in ThirdEye frontend. This PR fixes the problem.
@@ -541,7 +541,7 @@ export default Controller.extend({
const groupsWithAppName = activeGroups.filter(group => isPresent(group.application));
if (isPresent(appName)) {
- return groupsWithAppName.filter(group => group.application.toLowerCase().includes(appName));
+ return groupsWithAppName.filter(group => group.application.toLowerCase().includes(appName.toLowerCase()));
} else {
return activeGroups;
}
