add options to customize the model view dashboard (#9872)

* add options to customize the mv dashboard

* rename the property
This commit is contained in:
Alan Ren
2020-04-06 20:04:38 -07:00
committed by GitHub
parent 9819e97f7b
commit c2b8fcde45
8 changed files with 40 additions and 13 deletions

View File

@@ -157,7 +157,7 @@ export abstract class DashboardPage extends AngularDisposable implements IConfig
});
this.propertiesWidget = properties ? properties[0] : undefined;
this._panel.options = {
showTabsWhenOne: true,
alwaysShowTabs: true,
layout: NavigationBarLayout.vertical,
showIcon: true
};

View File

@@ -46,7 +46,7 @@ export class AgentViewComponent {
public readonly operatorsComponentTitle: string = nls.localize('jobview.Operators', "Operators");
public readonly panelOpt: IPanelOptions = {
showTabsWhenOne: true,
alwaysShowTabs: true,
layout: NavigationBarLayout.horizontal,
showIcon: true
};