Merge pull request #1030 from NixOS/ublock
Fix 'Error loading tab: 0 error' with uBlock Origin
This commit is contained in:
commit
37af3e69eb
|
@ -144,7 +144,7 @@ sub overview : Chained('job') PathPart('') Args(0) {
|
|||
}
|
||||
|
||||
|
||||
sub metrics_tab : Chained('job') PathPart('metrics-tab') Args(0) {
|
||||
sub metrics_tab : Chained('job') PathPart('metric-tab') Args(0) {
|
||||
my ($self, $c) = @_;
|
||||
$c->stash->{template} = 'job-metrics-tab.tt';
|
||||
$c->stash->{metrics} = [ $c->stash->{jobset}->buildmetrics->search(
|
||||
|
|
|
@ -84,7 +84,7 @@ removed or had an evaluation error.</div>
|
|||
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE makeLazyTab tabName="tabs-charts" uri=c.uri_for('/job' project.name jobset.name job 'metrics-tab') %]
|
||||
[% INCLUDE makeLazyTab tabName="tabs-charts" uri=c.uri_for('/job' project.name jobset.name job 'metric-tab') %]
|
||||
|
||||
<div id="tabs-links" class="tab-pane">
|
||||
<ul>
|
||||
|
|
Loading…
Reference in a new issue