fix: not show from market bundle package icon

This commit is contained in:
Joel
2024-11-26 14:07:45 +08:00
parent b84b0c8ba8
commit 4b77ced4ad
5 changed files with 14 additions and 0 deletions

View File

@ -14,12 +14,14 @@ type Props = {
allPlugins: Dependency[]
onInstalled: (plugins: Plugin[], installStatus: InstallStatusResponse[]) => void
onCancel: () => void
isFromMarketPlace?: boolean
}
const Install: FC<Props> = ({
allPlugins,
onInstalled,
onCancel,
isFromMarketPlace,
}) => {
const { t } = useTranslation()
const [selectedPlugins, setSelectedPlugins] = React.useState<Plugin[]>([])
@ -75,6 +77,7 @@ const Install: FC<Props> = ({
selectedPlugins={selectedPlugins}
onSelect={handleSelect}
onLoadedAllPlugin={handleLoadedAllPlugin}
isFromMarketPlace={isFromMarketPlace}
/>
</div>
</div>