mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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 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 {
|
export interface RadioCardGroupComponent extends Component, RadioCardGroupComponentProperties {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -190,9 +190,9 @@ export default class RadioCardGroup extends ComponentBase<azdata.RadioCardGroupC
|
|||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
this.fireEvent({
|
this.fireEvent({
|
||||||
eventType: ComponentEventType.onDidClick,
|
eventType: ComponentEventType.onDidClick,
|
||||||
args: {
|
args: <azdata.RadioCardLinkClickEvent>{
|
||||||
cardId,
|
cardId,
|
||||||
textContents: deepClone(textContents),
|
description: deepClone(textContents),
|
||||||
card: deepClone(this.getCardById(cardId))
|
card: deepClone(this.getCardById(cardId))
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user