mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -05:00
Add some more logging to ModelView components (#13387)
* Add some more logging to ModelView components * Remove catch * remove unused
This commit is contained in:
@@ -21,6 +21,7 @@ import { IContextViewService } from 'vs/platform/contextview/browser/contextView
|
||||
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
|
||||
import { IComponent, IComponentDescriptor, IModelStore, ComponentEventType } from 'sql/platform/dashboard/browser/interfaces';
|
||||
import { localize } from 'vs/nls';
|
||||
import { ILogService } from 'vs/platform/log/common/log';
|
||||
|
||||
@Component({
|
||||
selector: 'modelview-dropdown',
|
||||
@@ -52,9 +53,10 @@ export default class DropDownComponent extends ComponentBase<azdata.DropDownProp
|
||||
@Inject(IWorkbenchThemeService) private themeService: IWorkbenchThemeService,
|
||||
@Inject(IContextViewService) private contextViewService: IContextViewService,
|
||||
@Inject(forwardRef(() => ElementRef)) el: ElementRef,
|
||||
@Inject(IConfigurationService) private readonly configurationService: IConfigurationService
|
||||
@Inject(IConfigurationService) private readonly configurationService: IConfigurationService,
|
||||
@Inject(ILogService) logService: ILogService
|
||||
) {
|
||||
super(changeRef, el);
|
||||
super(changeRef, el, logService);
|
||||
|
||||
if (this.configurationService) {
|
||||
this._isInAccessibilityMode = this.configurationService.getValue('editor.accessibilitySupport') === 'on';
|
||||
|
||||
Reference in New Issue
Block a user