Skip to content

Commit

Permalink
fix: dispose template data disposables in source column renderer (#20…
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke authored May 28, 2024
1 parent c6e45e9 commit 38b63e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ class SourceColumnRenderer implements ITableRenderer<IKeybindingItemEntry, ISour
}

renderElement(keybindingItemEntry: IKeybindingItemEntry, index: number, templateData: ISourceColumnTemplateData, height: number | undefined): void {

templateData.disposables.clear();
if (isString(keybindingItemEntry.keybindingItem.source)) {
templateData.extensionContainer.classList.add('hide');
templateData.sourceLabel.element.classList.remove('hide');
Expand Down

0 comments on commit 38b63e5

Please sign in to comment.