TF-4236 Implement remove a label from an thread

This commit is contained in:
dab246
2026-01-09 19:49:21 +07:00
committed by Dat H. Pham
parent b37359af03
commit 1058b94363
23 changed files with 402 additions and 47 deletions
@@ -53,10 +53,11 @@ extension ListEmailIdExtension on List<EmailId> {
Map<Id, PatchObject> generateMapUpdateObjectLabel(
KeyWordIdentifier labelKeyword,
{bool remove = false}
) {
return {
for (var emailId in this)
emailId.id: labelKeyword.generateLabelActionPath()
emailId.id: labelKeyword.generateLabelActionPath(remove: remove)
};
}
}