Merge pull request #2647 from kleesc/buildview_timestamps
Show build logs timestamps by default
This commit is contained in:
commit
2a5c1f0840
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,11 @@
|
|||
$scope.name = $routeParams.name;
|
||||
$scope.build_uuid = $routeParams.buildid;
|
||||
|
||||
$scope.showLogTimestamps = CookieService.get('quay.showBuildLogTimestamps') == 'true';
|
||||
if (!CookieService.get('quay.showBuildLogTimestamps')) {
|
||||
$scope.showLogTimestamps = true;
|
||||
} else {
|
||||
$scope.showLogTimestamps = CookieService.get('quay.showBuildLogTimestamps') == 'true';
|
||||
}
|
||||
|
||||
var loadBuild = function() {
|
||||
var params = {
|
||||
|
|
Reference in a new issue