fix: vocabulary export

This commit is contained in:
kazuki kumo
2024-12-05 09:33:24 +09:00
parent 588719df91
commit c3a2945f4f

View File

@@ -182,7 +182,7 @@
function downloadVocabulary() { function downloadVocabulary() {
const vocabulary = new Set( const vocabulary = new Set(
$chords.map((it) => $chords.map((it) =>
"phrase" in it ? plainPhrase(it.phrase, $osLayout).trim() : "", "phrase" in it ? encodeChord(it, $osLayout).trim() : "",
), ),
); );
vocabulary.delete(""); vocabulary.delete("");