Skip to content

Commit

Permalink
Handle pref display without plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Grant <[email protected]>
  • Loading branch information
colin-grant-work committed Apr 28, 2021
1 parent 9e8ae7d commit b83b9b2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ export class PreferenceTreeGenerator {
readonly onSchemaChanged = this.onSchemaChangedEmitter.event;

@postConstruct()
protected init(): void {
protected async init(): Promise<void> {
await this.schemaProvider.ready;
this.schemaProvider.onDidPreferenceSchemaChanged(() => this.handleChangedSchema());
this.handleChangedSchema();
}

generateTree = (): CompositeTreeNode => {
Expand Down

0 comments on commit b83b9b2

Please sign in to comment.