This commit is contained in:
adueck 2023-12-29 13:02:34 +04:00
parent d2b76ea2c5
commit c20d053a6e
1 changed files with 2 additions and 2 deletions

View File

@ -112,13 +112,13 @@ async function getRawEntries(): Promise<T.DictionaryEntry[]> {
// // await rows[i].delete();
// }
const entries: T.DictionaryEntry[] = [];
let sheetIndex = 0;
// let sheetIndex = 0;
// get the rows in order of ts for easy detection of duplicate entries
for (let i = 0; i < rows.length; i++) {
// function sameEntry(a: any, b: any): boolean {
// return a.p === b.p && a.f === b.f && a.e === b.e;
// }
sheetIndex++;
// sheetIndex++;
const row = rows[i];
const nextRow = rows[i + 1] || undefined;
if (row.ts === nextRow?.ts) {