mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
chore: fix jump url
This commit is contained in:
parent
9193bc3143
commit
1dc2d7f4a2
|
@ -26,7 +26,7 @@ const List = ({
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
const hasFilter = !searchText
|
const hasFilter = !searchText
|
||||||
const hasRes = list.length > 0
|
const hasRes = list.length > 0
|
||||||
const urlWithSearchText = `${marketplaceUrlPrefix}/marketplace?q=${searchText}&tags=${tags.join(',')}`
|
const urlWithSearchText = `${marketplaceUrlPrefix}/?q=${searchText}&tags=${tags.join(',')}`
|
||||||
const nextToStickyELemRef = useRef<HTMLDivElement>(null)
|
const nextToStickyELemRef = useRef<HTMLDivElement>(null)
|
||||||
|
|
||||||
const { handleScroll, scrollPosition } = useStickyScroll({
|
const { handleScroll, scrollPosition } = useStickyScroll({
|
||||||
|
@ -65,7 +65,7 @@ const List = ({
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
className='sticky bottom-0 z-10 flex h-8 px-4 py-1 system-sm-medium items-center border-t border-[0.5px] border-components-panel-border bg-components-panel-bg-blur rounded-b-lg shadow-lg text-text-accent-light-mode-only cursor-pointer'
|
className='sticky bottom-0 z-10 flex h-8 px-4 py-1 system-sm-medium items-center border-t border-[0.5px] border-components-panel-border bg-components-panel-bg-blur rounded-b-lg shadow-lg text-text-accent-light-mode-only cursor-pointer'
|
||||||
href={`${marketplaceUrlPrefix}/plugins`}
|
href={`${marketplaceUrlPrefix}/`}
|
||||||
target='_blank'
|
target='_blank'
|
||||||
>
|
>
|
||||||
<span>{t('plugin.findMoreInMarketplace')}</span>
|
<span>{t('plugin.findMoreInMarketplace')}</span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user