Skip to content

Commit

Permalink
remove useless code (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral authored Nov 8, 2024
1 parent 5e92889 commit 34457ea
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,6 @@ public async Task Send(string modelCardId)
);

List<Element> elements = await RefreshElementsOnSender(modelCard.NotNull()).ConfigureAwait(false);

if (modelCard is SenderModelCard senderModel)
{
foreach (Element element in elements)
{
senderModel.SendFilter.NotNull().IdMap.NotNull()[element.Id.ToString()] = element.UniqueId;
}
await Commands
.SetFilterObjectIds(modelCardId, senderModel.SendFilter.NotNull().IdMap.NotNull())
.ConfigureAwait(false);
}

List<ElementId> elementIds = elements.Select(el => el.Id).ToList();

if (elementIds.Count == 0)
Expand Down

0 comments on commit 34457ea

Please sign in to comment.