From 293f6ae02ecce2b8e2171baeee9fbdca1a47a32b Mon Sep 17 00:00:00 2001 From: Rob Lemley Date: Mon, 13 Nov 2023 13:05:01 -0500 Subject: [PATCH] Nikola auto commit. Source commit: 7aa54a1f39502c71dd9107190d9c311ddef78727 Nikola version: 8.2.4 --- assets/js/bugzilla.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/assets/js/bugzilla.js b/assets/js/bugzilla.js index 2f2be11..fc094c2 100644 --- a/assets/js/bugzilla.js +++ b/assets/js/bugzilla.js @@ -349,10 +349,8 @@ export default class BZQueryRunner { current_version = await this.getCurrentVersion() const nightly_major = await this.getNightlyMajor() if (current_version !== undefined && nightly_major !== undefined) { - if (this.channel_name === "release115") { - bugzilla_version = "esr115" - } else if (this.channel_name === "release102") { - bugzilla_version = `esr102` + if (this.channel_name.startsWith("esr")) { + bugzilla_version = this.channel_name } else if (this.channel_name === "beta") { bugzilla_version = current_version.major_version.toString() }