mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
5b0a8801a0
commit
0b95239ffd
|
@ -269,11 +269,6 @@ export class FindInput extends Widget {
|
|||
}
|
||||
|
||||
public setAdditionalToggles(toggles: Toggle[] | undefined): void {
|
||||
// Short circuit if there are no toggles to update
|
||||
if (!this.additionalToggles.length && !toggles?.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const currentToggle of this.additionalToggles) {
|
||||
currentToggle.domNode.remove();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue