Remove clutter
This commit is contained in:
parent
f794ed7300
commit
1c58dc2fe5
8 changed files with 7 additions and 89 deletions
|
|
@ -4,9 +4,8 @@ import { formatDuration, formatAge, formatNumber } from '../lib/format';
|
|||
import { getNum } from '../lib/property-fields';
|
||||
import InfoPopup from './InfoPopup';
|
||||
import { SearchInput } from './ui/SearchInput';
|
||||
import { PaneHeader } from './ui/PaneHeader';
|
||||
import { EmptyState } from './ui/EmptyState';
|
||||
import { InfoIcon } from './ui/Icons';
|
||||
import { InfoIcon } from './ui/icons';
|
||||
|
||||
interface PropertiesPaneProps {
|
||||
properties: Property[];
|
||||
|
|
@ -67,16 +66,6 @@ export function PropertiesPane({
|
|||
|
||||
return (
|
||||
<div className="flex flex-col h-full">
|
||||
<PaneHeader
|
||||
title="Properties"
|
||||
subtitle={
|
||||
search.trim()
|
||||
? `${filteredAndSorted.length} match${filteredAndSorted.length !== 1 ? 'es' : ''} in ${properties.length} loaded`
|
||||
: `Showing ${properties.length} of ${total} properties`
|
||||
}
|
||||
onClose={onClose}
|
||||
onInfoClick={() => setShowInfo(true)}
|
||||
/>
|
||||
{showInfo && (
|
||||
<InfoPopup
|
||||
title="Property Data"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue