From e8c3ec70a380db31ea348fcc19df7c712646a7a7 Mon Sep 17 00:00:00 2001 From: Trezy Date: Mon, 23 Feb 2026 20:11:15 -0600 Subject: [PATCH] fix: remove backfill switch for query and procedure lexicons --- .../lexicons/[id]/lexicon-detail.tsx | 10 ++++++---- web/src/app/(dashboard)/lexicons/new/page.tsx | 20 ++++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/web/src/app/(dashboard)/lexicons/[id]/lexicon-detail.tsx b/web/src/app/(dashboard)/lexicons/[id]/lexicon-detail.tsx index 75538ae..f4fbae3 100644 --- a/web/src/app/(dashboard)/lexicons/[id]/lexicon-detail.tsx +++ b/web/src/app/(dashboard)/lexicons/[id]/lexicon-detail.tsx @@ -159,10 +159,12 @@ export default function LexiconDetailPage() {

{lexicon.revision}

-
- -

{lexicon.backfill ? "Yes" : "No"}

-
+ {lexicon.lexicon_type === "record" && ( +
+ +

{lexicon.backfill ? "Yes" : "No"}

+
+ )} {lexicon.authority_did && (
diff --git a/web/src/app/(dashboard)/lexicons/new/page.tsx b/web/src/app/(dashboard)/lexicons/new/page.tsx index 830f4d5..348bb76 100644 --- a/web/src/app/(dashboard)/lexicons/new/page.tsx +++ b/web/src/app/(dashboard)/lexicons/new/page.tsx @@ -125,7 +125,7 @@ export default function AddLexiconPage() { const lexiconJson = JSON.parse(json); await uploadLexicon(getToken, { lexicon_json: lexiconJson, - backfill, + backfill: localMainType === "record" && backfill, script: showScript && script ? script : undefined, }); router.push("/lexicons"); @@ -206,14 +206,16 @@ export default function AddLexiconPage() {