diff --git a/frontend/src/entries.ts b/frontend/src/entries.ts index 698850b8f..648d7057f 100644 --- a/frontend/src/entries.ts +++ b/frontend/src/entries.ts @@ -346,5 +346,5 @@ export const entryValidator: Validator = tagged_union("t", { * Check whether the given entry is marked as duplicate (used in imports). */ export function isDuplicate(e: Entry): boolean { - return e.meta.__duplicate__ === true; + return e.meta.__duplicate__ != null && e.meta.__duplicate__ !== false; }