cg_teamChatsOnly filters spectator team too
cg_teamChatsOnly is used to filter global chat (spectators and opposite team players).
When being spectator, this cvar however filters global chat as a whole - no players comments in global chat, and no spectators comments will be displayed either, at all.
Suggestion: do not filter anything when spectating. Spectators would usually share comments on the game.