fix: align scope picker with catalog toolbar
This commit is contained in:
@@ -70,6 +70,7 @@ export function CatalogTableToolbar({
|
||||
label,
|
||||
active = true,
|
||||
filterCount = 0,
|
||||
scope,
|
||||
filters,
|
||||
onApply,
|
||||
onReset,
|
||||
@@ -82,6 +83,7 @@ export function CatalogTableToolbar({
|
||||
label: string;
|
||||
active?: boolean;
|
||||
filterCount?: number;
|
||||
scope?: ReactNode;
|
||||
filters: ReactNode;
|
||||
onApply: () => void;
|
||||
onReset: () => void;
|
||||
@@ -149,6 +151,7 @@ export function CatalogTableToolbar({
|
||||
role="toolbar"
|
||||
aria-label={`${label}表格工具栏`}
|
||||
>
|
||||
{scope}
|
||||
<div className="catalog-toolbar-tools">
|
||||
{popup(
|
||||
"filter",
|
||||
|
||||
Reference in New Issue
Block a user