fix: select the PR diff tab after content loads

This commit is contained in:
tdurieux
2026-09-06 10:47:32 +02:00
parent 5c6e5b6519
commit cac76ad7b6
5 changed files with 12 additions and 3 deletions
+1
View File
@@ -3264,6 +3264,7 @@ angular
$http.get(`/api/pr/${$scope.pullRequestId}/content`).then(
(res) => {
$scope.details = res.data;
$scope.tabState = { active: res.data.diff ? "diff" : "comments" };
if (callback) {
callback(res.data);
}
+1 -1
View File
File diff suppressed because one or more lines are too long