fix: render correct CS status (disabled languages)
Description
This fixes a bug where the Code Suggestions status was rendered as "Enabled" when Code Suggestions is disabled for a language.
Related Issues
Contributes to #1438 (closed)
How has this been tested?
Apart from the unit tests, I've also tested it locally.
Screenshots (if appropriate)
before | after |
---|---|
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Jacques Erasmus