mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
fix description not provided issue (#14510)
This commit is contained in:
2
src/sql/azdata.proposed.d.ts
vendored
2
src/sql/azdata.proposed.d.ts
vendored
@@ -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 {
|
||||
/**
|
||||
|
||||
@@ -190,9 +190,9 @@ export default class RadioCardGroup extends ComponentBase<azdata.RadioCardGroupC
|
||||
event.stopPropagation();
|
||||
this.fireEvent({
|
||||
eventType: ComponentEventType.onDidClick,
|
||||
args: {
|
||||
args: <azdata.RadioCardLinkClickEvent>{
|
||||
cardId,
|
||||
textContents: deepClone(textContents),
|
||||
description: deepClone(textContents),
|
||||
card: deepClone(this.getCardById(cardId))
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user