Skip to content

Commit

Permalink
fix: force load history service
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Oct 30, 2024
1 parent 0ef170c commit 0c33325
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/service-override/viewCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import { IActionViewItemService } from 'vs/platform/actions/browser/actionViewIt
import getBulkEditServiceOverride from './bulkEdit'
import { changeUrlDomain } from './tools/url'
import { registerAssets } from '../assets'
import { registerServiceInitializePostParticipant } from '../lifecycle'
import 'vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution'
import 'vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution'
import 'vs/workbench/browser/actions/listCommands'
Expand Down Expand Up @@ -99,6 +100,10 @@ registerAssets({
)
})

registerServiceInitializePostParticipant(async (accessor) => {
accessor.get(IHistoryService)
})

function getServiceOverride(_webviewIframeAlternateDomains?: string): IEditorOverrideServices {
if (_webviewIframeAlternateDomains != null) {
webviewIframeAlternateDomains = _webviewIframeAlternateDomains
Expand Down

0 comments on commit 0c33325

Please sign in to comment.