Skip to content

Commit

Permalink
refactor: move service init logic to the onServiceInit method
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Apr 26, 2024
1 parent 62bc14a commit 6c3599c
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -69,7 +69,9 @@ export class UserSpotlightSearcherService extends StaticSpotlightSearcherService
alternates: 1,
},
})
}

override onServiceInit(): void {
this.setDocuments(this.documents)
this.spotlight.registerSearcher(this)
}
Expand Down

0 comments on commit 6c3599c

Please sign in to comment.