sfc-utils 1.4.20 → 1.4.21
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 +2 -0
- package/package.json +1 -1
package/components/topper2.mjs
CHANGED
|
@@ -202,6 +202,8 @@ const Topper2 = ({ settings, wcmData, mods }) => {
|
|
|
202
202
|
|
|
203
203
|
/** Converts string from spreadsheet into a list and pads the list if the length is incorrect */
|
|
204
204
|
const convertStringToList = (str, size) => {
|
|
205
|
+
if (!str.includes(";")) return [];
|
|
206
|
+
|
|
205
207
|
var list = str.split(";");
|
|
206
208
|
if (list.length === size) return list;
|
|
207
209
|
|