diff --git a/packages/frontend-2/components/viewer/filters/property-selection/Panel.vue b/packages/frontend-2/components/viewer/filters/property-selection/Panel.vue index ce7a642ef..bef5f00b8 100644 --- a/packages/frontend-2/components/viewer/filters/property-selection/Panel.vue +++ b/packages/frontend-2/components/viewer/filters/property-selection/Panel.vue @@ -36,8 +36,6 @@ :property="item.property" @select-property="$emit('selectProperty', $event)" /> - -
@@ -148,13 +146,11 @@ const listItems = computed((): PropertySelectionListItem[] => { })) items.push(...allPropertyItems) - items.push({ type: 'spacer' }) - return items }) const itemHeight = computed(() => PROPERTY_SELECTION_ITEM_HEIGHT) -const maxHeight = computed(() => PROPERTY_SELECTION_MAX_HEIGHT) +const maxHeight = computed(() => PROPERTY_SELECTION_MAX_HEIGHT - 28) const { list, containerProps, wrapperProps } = useVirtualList(listItems, { itemHeight: PROPERTY_SELECTION_ITEM_HEIGHT, diff --git a/packages/frontend-2/lib/viewer/helpers/filters/types.ts b/packages/frontend-2/lib/viewer/helpers/filters/types.ts index 6822203df..a09d71f07 100644 --- a/packages/frontend-2/lib/viewer/helpers/filters/types.ts +++ b/packages/frontend-2/lib/viewer/helpers/filters/types.ts @@ -101,7 +101,7 @@ export type ConditionOption = { export type PropertyOption = PropertySelectOption // Alias for backward compatibility export type PropertySelectionListItem = { - type: 'header' | 'property' | 'spacer' + type: 'header' | 'property' title?: string property?: PropertyOption }