diff --git a/specifyweb/frontend/js_src/lib/components/DataModel/specifyModel.ts b/specifyweb/frontend/js_src/lib/components/DataModel/specifyModel.ts index b0d8a0beda9..dc04aba1004 100644 --- a/specifyweb/frontend/js_src/lib/components/DataModel/specifyModel.ts +++ b/specifyweb/frontend/js_src/lib/components/DataModel/specifyModel.ts @@ -34,8 +34,8 @@ import { getTableOverwrite, modelViews } from './schemaOverrides'; import type { Relationship } from './specifyField'; import { type FieldDefinition, - type RelationshipDefinition, LiteralField, + type RelationshipDefinition, } from './specifyField'; type FieldAlias = { @@ -63,7 +63,6 @@ type CollectionConstructor = new ( readonly filters?: Partial< { readonly orderby: string; - readonly domainfilter: boolean; } & SCHEMA['fields'] & CommonFields & // This is required to allow for filters like leftSide__isnull diff --git a/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx b/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx index 4c624135c0d..215d9266d5a 100644 --- a/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx +++ b/specifyweb/frontend/js_src/lib/components/FormCells/PickListEditor.tsx @@ -36,7 +36,7 @@ export function PickListEditor({ (table === undefined ? undefined : new table.LazyCollection({ - filters: { domainfilter: true }, + domainfilter: true, })) as Collection, [table] );