sfc-utils 1.4.10 → 1.4.11
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.
- package/components/topper2.mjs +1 -1
- package/package.json +1 -1
package/components/topper2.mjs
CHANGED
|
@@ -152,7 +152,7 @@ const Topper2 = ({ settings, wcmData, mods }) => {
|
|
|
152
152
|
if (!listStr) return [];
|
|
153
153
|
// For backwards compat, handle both ; and , as delimiters
|
|
154
154
|
let charSearch = ","
|
|
155
|
-
if (listStr.indexOf(";") !== -1){
|
|
155
|
+
if (listStr.toString().indexOf(";") !== -1){
|
|
156
156
|
charSearch = ";"
|
|
157
157
|
}
|
|
158
158
|
return listStr.toString().split(charSearch).map((d) => parseInt(d));
|