Drop the Search Hub button from the image tab picker
This commit is contained in:
parent
33c60f1376
commit
030a565b06
1 changed files with 4 additions and 1 deletions
|
|
@ -662,7 +662,10 @@ export function ModelSelector({
|
|||
onEject={onEject ? handleEject : undefined}
|
||||
onFoldersChange={onFoldersChange}
|
||||
onPickLocalModel={onPickLocalModel ? handlePickLocalModel : undefined}
|
||||
onBrowseHub={handleBrowseHub}
|
||||
// The image tab (the only caller passing `task`) is a self-contained
|
||||
// curated + on-device picker, so it omits the "Search Hub" button that
|
||||
// navigates to the general Hub page.
|
||||
onBrowseHub={task ? undefined : handleBrowseHub}
|
||||
onModelsChange={onModelsChange}
|
||||
deleteDisabled={deleteDisabled}
|
||||
className={contentClassName}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue