diff --git a/client/src/document/baseline-indicator.tsx b/client/src/document/baseline-indicator.tsx index 6c4a0945d030..b57668e38eee 100644 --- a/client/src/document/baseline-indicator.tsx +++ b/client/src/document/baseline-indicator.tsx @@ -55,7 +55,11 @@ const LOCALIZED_BCD_IDS = { const SURVEY_URL = "https://survey.alchemer.com/s3/7634825/MDN-baseline-feedback"; -export function BaselineIndicator({ status }: { status: SupportStatus }) { +export function BaselineIndicator({ + status, +}: { + status: SupportStatus & { asterisk?: boolean }; +}) { const gleanClick = useGleanClick(); const locale = useLocale(); const { pathname } = useLocation(); @@ -123,6 +127,7 @@ export function BaselineIndicator({ status }: { status: SupportStatus }) { ? "Widely available" : low_date?.getFullYear()} + {status.asterisk ? " *" : ""} ) : ( Limited availability diff --git a/libs/types/document.ts b/libs/types/document.ts index bec2c34d4856..f30cba8cf91a 100644 --- a/libs/types/document.ts +++ b/libs/types/document.ts @@ -152,7 +152,7 @@ export interface DocMetadata { popularity?: number; // Used for search. noIndexing?: boolean; browserCompat?: string[]; - baseline?: SupportStatus; + baseline?: SupportStatus & { asterisk?: boolean }; hash?: string; pageType: string; }