sfc-utils 1.4.22 → 1.4.23
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
|
@@ -203,7 +203,7 @@ const Topper2 = ({ settings, wcmData, mods }) => {
|
|
|
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
205
|
// If the string is empty (ie caption/credit is not filled out), return early
|
|
206
|
-
if (!str
|
|
206
|
+
if (!str) return [];
|
|
207
207
|
|
|
208
208
|
var list = str.split(";");
|
|
209
209
|
if (list.length === size) return list;
|