iss #19 - Reinitialize query editor when mode switched to IT services.
This commit is contained in:
@@ -42,6 +42,11 @@ function (angular, _) {
|
||||
$scope.target.errors = validateTarget($scope.target);
|
||||
};
|
||||
|
||||
$scope.switchEditorMode = function() {
|
||||
$scope.target.ITService = !$scope.target.ITService;
|
||||
$scope.init();
|
||||
};
|
||||
|
||||
/**
|
||||
* Take alias from item name by default
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user