chore: responsive header (#21115)
This commit is contained in:
parent
0dcacdf83d
commit
fc187d6998
9 changed files with 211 additions and 219 deletions
|
|
@ -48,7 +48,7 @@ const DatasetNav = () => {
|
|||
text={t('common.menus.datasets')}
|
||||
activeSegment='datasets'
|
||||
link='/datasets'
|
||||
curNav={currentDataset as Omit<NavItem, 'link'>}
|
||||
curNav={currentDataset as any}
|
||||
navs={datasetItems.map(dataset => ({
|
||||
id: dataset.id,
|
||||
name: dataset.name,
|
||||
|
|
@ -59,6 +59,7 @@ const DatasetNav = () => {
|
|||
createText={t('common.menus.newDataset')}
|
||||
onCreate={() => router.push(`${basePath}/datasets/create`)}
|
||||
onLoadmore={handleLoadmore}
|
||||
isApp={false}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue