Skip to content

Commit

Permalink
fix: setting labels appearing in widgets (#213826)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 authored May 29, 2024
1 parent 1b896cd commit 23b0f28
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ export class ObjectSettingDropdownWidget extends AbstractListSettingWidget<IObje
class: ThemeIcon.asClassName(settingsEditIcon),
enabled: true,
id: 'workbench.action.editListItem',
label: this.getLocalizedStrings().editActionTooltip,
label: '',
tooltip: this.getLocalizedStrings().editActionTooltip,
run: () => this.editSetting(idx)
},
Expand All @@ -910,7 +910,7 @@ export class ObjectSettingDropdownWidget extends AbstractListSettingWidget<IObje
class: ThemeIcon.asClassName(settingsRemoveIcon),
enabled: true,
id: 'workbench.action.removeListItem',
label: this.getLocalizedStrings().deleteActionTooltip,
label: '',
tooltip: this.getLocalizedStrings().deleteActionTooltip,
run: () => this._onDidChangeList.fire({ originalItem: item, item: undefined, targetIndex: idx })
});
Expand All @@ -919,7 +919,7 @@ export class ObjectSettingDropdownWidget extends AbstractListSettingWidget<IObje
class: ThemeIcon.asClassName(settingsDiscardIcon),
enabled: true,
id: 'workbench.action.resetListItem',
label: this.getLocalizedStrings().resetActionTooltip,
label: '',
tooltip: this.getLocalizedStrings().resetActionTooltip,
run: () => this._onDidChangeList.fire({ originalItem: item, item: undefined, targetIndex: idx })
});
Expand Down

0 comments on commit 23b0f28

Please sign in to comment.