fix: align reporting fields queries and disk monitoring

This commit is contained in:
hectorzhao
2026-08-31 12:19:39 +08:00
parent 119d57772e
commit b0deef5e6e
37 changed files with 596 additions and 110 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Search } from 'lucide-react';
import { Button } from './Button';
/** Shared explicit-search actions for both portals. Editing filters never submits them. */
export function QueryButtons({ onQuery, onReset }: { onQuery: () => void; onReset: () => void }) {
return <div className="ui-query-buttons" style={{ display: 'flex', gap: 'var(--space-3)', alignItems: 'end' }}>
<Button icon={<Search size={16} />} onClick={onQuery}></Button>
<Button onClick={onReset} variant="ghost"></Button>
</div>;
}