mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
fix extension commands loc display issue (#15509)
This commit is contained in:
@@ -254,8 +254,9 @@ export abstract class DashboardPage extends AngularDisposable implements IConfig
|
|||||||
|
|
||||||
let toolbarActions = [];
|
let toolbarActions = [];
|
||||||
_tasks.forEach(a => {
|
_tasks.forEach(a => {
|
||||||
let iconClassName = TaskRegistry.getOrCreateTaskIconClassName(a);
|
const iconClassName = TaskRegistry.getOrCreateTaskIconClassName(a);
|
||||||
toolbarActions.push(new ToolbarAction(a.id, a.title.toString(), iconClassName, this.runAction, this, this.logService));
|
const title = typeof a.title === 'string' ? a.title : a.title.value;
|
||||||
|
toolbarActions.push(new ToolbarAction(a.id, title, iconClassName, this.runAction, this, this.logService));
|
||||||
});
|
});
|
||||||
|
|
||||||
let content: ITaskbarContent[] = [];
|
let content: ITaskbarContent[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user