mirror of
https://github.com/caprover/caprover
synced 2026-05-04 18:50:33 +00:00
fixed frozen build logs on web dashboard
This commit is contained in:
Vendored
+2
-2
@@ -887,9 +887,9 @@ function AppDetailsCtrl($scope,
|
||||
}
|
||||
var logInfo = data.data;
|
||||
|
||||
$scope.isAppBuilding = logInfo.isAppBuilding;
|
||||
app.isAppBuilding = logInfo.isAppBuilding;
|
||||
|
||||
if ($scope.isAppBuilding) {
|
||||
if (app.isAppBuilding) {
|
||||
// forcefully expanding the view such that when building finishes it doesn't collapses automatically
|
||||
app.expandedLogs = true;
|
||||
}
|
||||
|
||||
@@ -543,9 +543,11 @@ class DockerApi {
|
||||
|
||||
stream.on('end', function () {
|
||||
if (errorMessage) {
|
||||
buildLogs.log('Push failed...');
|
||||
reject(errorMessage);
|
||||
return;
|
||||
}
|
||||
buildLogs.log('Push succeeded...');
|
||||
resolve();
|
||||
});
|
||||
|
||||
|
||||
@@ -62,9 +62,9 @@ function AppDetailsCtrl($scope,
|
||||
}
|
||||
var logInfo = data.data;
|
||||
|
||||
$scope.isAppBuilding = logInfo.isAppBuilding;
|
||||
app.isAppBuilding = logInfo.isAppBuilding;
|
||||
|
||||
if ($scope.isAppBuilding) {
|
||||
if (app.isAppBuilding) {
|
||||
// forcefully expanding the view such that when building finishes it doesn't collapses automatically
|
||||
app.expandedLogs = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user