feat: scope blacklists and paginate phone segments

This commit is contained in:
hectorzhao
2026-07-10 13:42:39 +08:00
parent ff0756ff9c
commit d5e668a2e6
18 changed files with 322 additions and 86 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ type QueryPanelProps = {
};
type PaginationProps = {
total: number;
total?: number;
page?: number;
previousDisabled?: boolean;
nextDisabled?: boolean;
@@ -42,7 +42,7 @@ export function Pagination({
}: PaginationProps) {
return (
<div className="ui-pagination">
<span> {total} </span>
{typeof total === 'number' ? <span> {total} </span> : <span />}
<div>
<Button disabled={previousDisabled} onClick={onPrevious} size="sm" variant="ghost"></Button>
<Button size="sm" variant="secondary">{page}</Button>