Show build logs timestamps by default
Show timestanps in build logs when quay.showBuildLogTimestamps is not set
This commit is contained in:
parent
702cdf59ff
commit
afc13140c4
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