From 16321a1f8c9902be100b01067e1593694fa51341 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 8 Nov 2020 16:25:07 -0500 Subject: Add duplicate check option (#1012) * Add anki.checkForDuplicates option * Use checkForDuplicates for button display * Add property to card creation --- test/test-options-util.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test-options-util.js b/test/test-options-util.js index 135b2b2e..6b04cb02 100644 --- a/test/test-options-util.js +++ b/test/test-options-util.js @@ -409,6 +409,7 @@ function createProfileOptionsUpdatedTestData1() { terms: {deck: '', model: '', fields: {}}, kanji: {deck: '', model: '', fields: {}}, duplicateScope: 'collection', + checkForDuplicates: true, fieldTemplates: null } }; -- cgit v1.2.3