chore: responsive header (#21115)

This commit is contained in:
zxhlyh 2025-06-17 17:37:06 +08:00 • committed by GitHub
commit fc187d6998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 211 additions and 219 deletions

View file

@ -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}
/>
)
}