Browse Source
- Simplify success message generation using ternary operators - Remove visibilitySetCount due to its implied nature - Handle case when contactAddedCount is 0 by omitting contact-related text - Use more compact logic that only applies ternaries to variable parts - Maintain proper pluralization for both admitted members and contacts The message now shows: - "n member/s admitted." when no contacts added - "n member/s admitted and added as contact/s." when counts equal - "n member/s admitted, n added as contact/s." when counts differpull/210/head
1 changed files with 1 additions and 3 deletions
Loading…
Reference in new issue