Retry after re-linking reference provider (#7904)

GitOrigin-RevId: f34e78e4594404ec74acaa40230d8bfe9dcd7661
This commit is contained in:
Alf Eaton 2022-05-16 10:44:28 +01:00 committed by Copybot
parent d68180bc4e
commit cd09e2c029

View file

@ -89,9 +89,9 @@ App.controller(
true
)
$scope.setRefProviderEnabled = provider => {
$scope.setRefProviderEnabled = (provider, value = true) => {
ide.$scope.$applyAsync(() => {
ide.$scope.user.refProviders[provider] = true
ide.$scope.user.refProviders[provider] = value
})
}