mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-19 03:21:36 -04:00
add more specific label for dropdown (#1544)
This commit is contained in:
@@ -9,11 +9,10 @@ import * as nls from 'vs/nls';
|
||||
|
||||
export class ToggleDropdownAction extends Action {
|
||||
private static readonly ID = 'dropdownAction.toggle';
|
||||
private static readonly LABEL = nls.localize('dropdownAction.toggle', "Toggle dropdown");
|
||||
private static readonly ICON = 'dropdown-arrow';
|
||||
|
||||
constructor(private _fn: () => any) {
|
||||
super(ToggleDropdownAction.ID, ToggleDropdownAction.LABEL, ToggleDropdownAction.ICON);
|
||||
constructor(label, private _fn: () => any) {
|
||||
super(ToggleDropdownAction.ID, label, ToggleDropdownAction.ICON);
|
||||
}
|
||||
|
||||
public run(): TPromise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user