Fix 'Error loading tab: 0 error' with uBlock Origin

/metrics-tab matches a rule in one of uBlock Origin's default
blocklists, so let's name it something else.
This commit is contained in:
Eelco Dolstra
2021-09-27 17:42:56 +02:00
parent 9bb3e30a46
commit 66375fd2d9
2 changed files with 2 additions and 2 deletions

View File

@ -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(