提交 582cd954 编写于 作者: R Ramya Achutha Rao

Show online services action only in Insiders for now

上级 77dcb8b8
......@@ -230,19 +230,23 @@ export class SettingsEditor2 extends BaseEditor {
actionRunner: this.actionRunner
});
const actions = [
const actions: Action[] = [
this.instantiationService.createInstance(FilterByTagAction,
localize('filterModifiedLabel', "Show modified settings"),
MODIFIED_SETTING_TAG,
this),
this)
];
if (this.environmentService.appQuality !== 'stable') {
actions.push(
this.instantiationService.createInstance(
FilterByTagAction,
localize('filterOnlineServicesLabel', "Show settings for online services"),
ONLINE_SERVICES_SETTING_TAG,
this),
new Separator(),
this.instantiationService.createInstance(OpenSettingsAction)
];
this));
actions.push(new Separator());
}
actions.push(this.instantiationService.createInstance(OpenSettingsAction));
this.toolbar.setActions([], actions)();
this.toolbar.context = <ISettingsToolbarContext>{ target: this.settingsTargetsWidget.settingsTarget };
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册