@dcrackel/hematournamentui 1.0.419 → 1.0.421
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -35171,11 +35171,9 @@ const Eq = /* @__PURE__ */ ie(IF, [["render", OF]]), TF = {
|
|
|
35171
35171
|
},
|
|
35172
35172
|
promoted() {
|
|
35173
35173
|
if (this.promotedBy === "Percent")
|
|
35174
|
-
return parseInt(this.numPromoted.replace("%", ""));
|
|
35175
|
-
if (this.promotedBy === "Count")
|
|
35176
|
-
return parseInt(this.numPromoted);
|
|
35177
|
-
if (this.promotedBy === "Top")
|
|
35178
|
-
return parseInt(this.numPromoted);
|
|
35174
|
+
return parseInt(String(this.numPromoted).replace("%", ""), 10);
|
|
35175
|
+
if (this.promotedBy === "Count" || this.promotedBy === "Top")
|
|
35176
|
+
return parseInt(this.numPromoted, 10);
|
|
35179
35177
|
}
|
|
35180
35178
|
},
|
|
35181
35179
|
methods: {
|