diff --git a/lib/osf-components/addon/components/addons-service/terms-of-service/component.ts b/lib/osf-components/addon/components/addons-service/terms-of-service/component.ts index f101508a98c..f9acd68acf6 100644 --- a/lib/osf-components/addon/components/addons-service/terms-of-service/component.ts +++ b/lib/osf-components/addon/components/addons-service/terms-of-service/component.ts @@ -139,11 +139,11 @@ export default class TermsOfServiceComponent extends Component { return this.applicableCapabilities.map((capability: CapabilityCategory) => { const textTranslationChoices = capabilitiesToTextKeyMap[this.baseTranslationKey][capability]; let textTranslationKey = textTranslationChoices.false; - let localClass='danger-bg'; + let localClass = 'danger-bg'; if (providerCapabilities?.includes(capability)) { textTranslationKey = textTranslationChoices.true; localClass = 'success-bg'; - } else if (providerCapabilities?.includes((capability + '_partial' as ExternalServiceCapabilities))) { + } else if (providerCapabilities?.includes((capability + '_PARTIAL' as ExternalServiceCapabilities))) { textTranslationKey = textTranslationChoices.partial; localClass = 'warning-bg'; }