fix: align scope picker with catalog toolbar
This commit is contained in:
@@ -310,12 +310,6 @@ export function DatasetPage({
|
||||
);
|
||||
return (
|
||||
<section className="preparation-page">
|
||||
<ScopeControls
|
||||
value={scope}
|
||||
onChange={setScope}
|
||||
active={active}
|
||||
revision={version}
|
||||
/>
|
||||
{error && <Banner type="danger" description={error} />}
|
||||
{copied && (
|
||||
<Banner
|
||||
@@ -329,6 +323,15 @@ export function DatasetPage({
|
||||
/>
|
||||
)}
|
||||
<CatalogTableToolbar
|
||||
scope={
|
||||
<ScopeControls
|
||||
inline
|
||||
value={scope}
|
||||
onChange={setScope}
|
||||
active={active}
|
||||
revision={version}
|
||||
/>
|
||||
}
|
||||
label="数据目录"
|
||||
active={active && !suspended && !detail}
|
||||
filterCount={[q, category, subcategory].filter(Boolean).length}
|
||||
|
||||
Reference in New Issue
Block a user