| commit | a18894e3915b713f2589166c34cb4644e1dc9c9c | [log] [tgz] |
|---|---|---|
| author | Maggie Dong <jiaxindong@google.com> | Fri Jul 11 21:30:33 2025 +0000 |
| committer | Maggie Dong <jiaxindong@google.com> | Fri Jul 11 17:19:34 2025 -0700 |
| tree | db21f3aff328fe801e65f5cc92df17f2e76b9f6c | |
| parent | 4b4c8973b27a3a254a7ecf9cd6823068ceb1b799 [diff] |
Added more if check to prevent pre-generating url on regressions page. Change-Id: I20e225ed7003b51bb279cbc6a720203fe34fea54 Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/917341 Reviewed-by: John Chen <zhanliang@google.com> Commit-Queue: Maggie Dong <jiaxindong@google.com>
diff --git a/perf/modules/anomalies-table-sk/anomalies-table-sk.ts b/perf/modules/anomalies-table-sk/anomalies-table-sk.ts index da68962..8019443 100644 --- a/perf/modules/anomalies-table-sk/anomalies-table-sk.ts +++ b/perf/modules/anomalies-table-sk/anomalies-table-sk.ts
@@ -538,7 +538,9 @@ msg.hidden = true; table.hidden = false; this.anomalyList = anomalyList; - await this.preGenerateMultiGraphUrl(); + if (window.location.pathname !== this.regressionsPageHost) { + await this.preGenerateMultiGraphUrl(); + } this.groupAnomalies(); this._render();