diff --git a/services/web/frontend/js/features/file-tree/controllers/file-tree-controller.js b/services/web/frontend/js/features/file-tree/controllers/file-tree-controller.js index ebd5b90d48..c8ceaff5a1 100644 --- a/services/web/frontend/js/features/file-tree/controllers/file-tree-controller.js +++ b/services/web/frontend/js/features/file-tree/controllers/file-tree-controller.js @@ -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 }) }