Fix Blacksky labeler missing from report dialog

The additionalLabelers variable was assigned as a reference to MODERATION_AUTHORITIES_DIDS instead of a copy. When BLACKSKY_LABELER was pushed onto it, it mutated the original array, causing isNonConfigurableModerationAuthority() to return true for the Blacksky labeler DID. The report dialog filters out non-configurable authorities, so Blacksky was excluded from the moderation service selection. Fix: spread copy the array before mutating it.


Author Rudy Fraser Date Commit Parent 5f04e839
+1 -1
1 changed file
+1 -1
1 changed file