Fix error in default user metric code

Introduced by #4578
This commit is contained in:
Alejandro Martinez
2025-08-30 10:06:58 -03:00
parent 22fe08fde3
commit 3ff01d36a7

View File

@@ -1899,7 +1899,7 @@ CustomMetricsPage::addClicked()
here.conversionSum = 0.00;
here.program = R"({
# only calculate for rides containing power
relevant { Data contains P; }
relevant { Data contains "P"; }
# initialise aggregating variables
# does nothing, update as needed