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 --- ext/bg/data/options-schema.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/bg/data') diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json index 159ca009..edb30074 100644 --- a/ext/bg/data/options-schema.json +++ b/ext/bg/data/options-schema.json @@ -671,6 +671,7 @@ "terms", "kanji", "duplicateScope", + "checkForDuplicates", "fieldTemplates" ], "properties": { @@ -771,6 +772,10 @@ "default": "collection", "enum": ["collection", "deck", "deck-root"] }, + "checkForDuplicates": { + "type": "boolean", + "default": true + }, "fieldTemplates": { "type": ["string", "null"], "default": null -- cgit v1.2.3