Skip to content

Commit

Permalink
D37537_In Plug in Solution Not able to add activity fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
prashelke committed Apr 9, 2024
1 parent c115a34 commit fc38f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ginger/Ginger/AutomatePageLib/NewAutomatePage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ private void OnTargetApplicationChanged(object arg1, SelectionChangedEventArgs a
var userTA = mBusinessFlow.Activities.Select(f => f.TargetApplication);

// Iterate through the ApplicationAgents
foreach (var existingTargetApp in mBusinessFlow.TargetApplications)
foreach (var existingTargetApp in mBusinessFlow.TargetApplications.OfType<TargetApplication>())
{
// Check if the existing agent is not present in mBusinessFlow.TargetApplications
if (!userTA.Contains((existingTargetApp as TargetApplication).AppName))
Expand Down

0 comments on commit fc38f92

Please sign in to comment.