fix: do not change repoID

This commit is contained in:
tdurieux
2023-02-07 09:10:15 +01:00
parent c84df5c8e9
commit 6debb6aa0f

View File

@@ -1172,7 +1172,9 @@ angular
checkSourceType();
});
}
$scope.repoId = $scope.details.repo + "-" + generateRandomId(4);
if (!$scope.repoId) {
$scope.repoId = $scope.details.repo + "-" + generateRandomId(4);
}
await $scope.getBranches();
} catch (error) {
console.log("here", error);