diff --git a/src/sql/azdata.proposed.d.ts b/src/sql/azdata.proposed.d.ts index 8886195858..2d4aa51441 100644 --- a/src/sql/azdata.proposed.d.ts +++ b/src/sql/azdata.proposed.d.ts @@ -383,7 +383,7 @@ declare module 'azdata' { } export type RadioCardSelectionChangedEvent = { cardId: string; card: RadioCard }; - export type RadioCardLinkClickEvent = { cardId: string, card: RadioCard, selectorText: RadioCardDescription }; + export type RadioCardLinkClickEvent = { cardId: string, card: RadioCard, description: RadioCardDescription }; export interface RadioCardGroupComponent extends Component, RadioCardGroupComponentProperties { /** diff --git a/src/sql/workbench/browser/modelComponents/radioCardGroup.component.ts b/src/sql/workbench/browser/modelComponents/radioCardGroup.component.ts index de93b96880..045d2fd8a2 100644 --- a/src/sql/workbench/browser/modelComponents/radioCardGroup.component.ts +++ b/src/sql/workbench/browser/modelComponents/radioCardGroup.component.ts @@ -190,9 +190,9 @@ export default class RadioCardGroup extends ComponentBase{ cardId, - textContents: deepClone(textContents), + description: deepClone(textContents), card: deepClone(this.getCardById(cardId)) } });