also include ts in wordlist csv export

This commit is contained in:
adueck 2022-10-26 20:05:49 +05:00
parent d4bbb51b0d
commit 1fef1cd8af
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export async function getWordlist(limit?: number): Promise<WordlistWord[]> {
export async function getWordlistCsv(sortType: "alphabetical" | "time"): Promise<Blob> { export async function getWordlistCsv(sortType: "alphabetical" | "time"): Promise<Blob> {
const words = await getWordlist(); const words = await getWordlist();
const forCsv = words.map((w) => ( const forCsv = words.map((w) => (
[w.entry.p, w.entry.f, w.entry.c, w.entry.e] [w.entry.p, w.entry.f, w.entry.c, w.entry.e, w.entry.ts]
)); ));
if (sortType === "alphabetical") { if (sortType === "alphabetical") {
// @ts-ignore // @ts-ignore