Merge pull request #3317 from NodudeWasTaken/fix-empty-examples Fix mes examples being undefined if empty

5e396e2a91a50f3e9c70e82a5408207d53a534db

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -3902,7 +3902,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
39023902 * @returns {string[]} Examples array with block heading
39033903 */
39043904 function parseMesExamples(examplesStr) {
39053905 if (!examplesStr || examplesStr.length === 0 || examplesStr === '<START>') {
39063906 return [];
39073907 }
39083908