sorting prompts on import. see #65
This commit is contained in:
parent
b15616b5d7
commit
29f6c07229
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ export async function preparePromptsForImport(prompts){
|
||||||
output.push(prompt);
|
output.push(prompt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
output.sort((a, b) => a.id.localeCompare(b.id));
|
||||||
//console.log(">>>>>>>>>>> preparePromptsForImport: " + JSON.stringify(output));
|
//console.log(">>>>>>>>>>> preparePromptsForImport: " + JSON.stringify(output));
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue