fix build

This commit is contained in:
andrewwallacespeckle
2025-09-11 18:18:34 +01:00
parent b675e80f57
commit e482f7fe0a
2 changed files with 3 additions and 5 deletions
@@ -148,7 +148,7 @@ const propertySelectOptions = computed((): PropertySelectOption[] => {
type:
filter.type === 'number'
? FilterType.Numeric
: filter.type === 'boolean'
: (filter as { type: string }).type === 'boolean'
? FilterType.Boolean
: FilterType.String,
hasParent: lastDotIndex !== -1
@@ -222,7 +222,7 @@ const selectProperty = async (propertyKey: string) => {
}
// Check if this property has too many unique values
const { isLarge, count } = isLargeProperty(propertyKey)
const { isLarge, count } = isLargeProperty(property.key)
if (isLarge) {
// Store the pending property and show warning
@@ -77,10 +77,8 @@ export type StringFilterData = BaseFilterData & {
isDefaultAllSelected?: boolean
}
export type BooleanPropertyInfo = {
key: string
export type BooleanPropertyInfo = PropertyInfo & {
type: 'boolean'
objectCount: number
valueGroups: { value: boolean; ids: string[] }[]
}