Skip to content

Commit

Permalink
Remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Mar 7, 2023
1 parent caa4089 commit 6efbb21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class InteractiveListItemRenderer extends Disposable implements ITreeRend
private renderFollowup(container: HTMLElement, templateData: IInteractiveListItemTemplate, followup: string | IInteractiveSessionResponseCommandFollowup): void {
const button = templateData.elementDisposables.add(new Button(container, { ...defaultButtonStyles, supportIcons: typeof followup !== 'string' }));
const label = typeof followup === 'string' ? `"${followup}"` : followup.title;
button.label = label; // todo icons
button.label = label;
if (typeof followup === 'string') {
// This should probably be a command as well?
templateData.elementDisposables.add(button.onDidClick(() => this._onDidSelectFollowup.fire(followup)));
Expand Down

0 comments on commit 6efbb21

Please sign in to comment.