fetch git branches

This commit is contained in:
Usman Nasir
2020-03-07 23:25:58 +05:00
parent 46e2005a41
commit 0ad5a76221
4 changed files with 85 additions and 18 deletions

View File

@@ -5823,6 +5823,8 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) {
if (response.data.repo === 1) {
$scope.gitTracking = true;
$scope.gitEnable = false;
$scope.branches = response.data.finalBranches;
$scope.deploymentKey = response.data.deploymentKey;
} else {
$scope.gitTracking = false;
$scope.gitEnable = true;