Skip to content

Commit

Permalink
fix: removing search bar as logic not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
axel7083 committed Jan 16, 2024
1 parent f0d65fe commit a87d3b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Model.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ onMount(async () => {
})
</script>

<NavPage title="{model?.name || ''}">
<NavPage title="{model?.name || ''}" searchEnabled="{false}">
<svelte:fragment slot="tabs">
<Tab title="Summary" url="{modelId}" />
<Tab title="Playground" url="{modelId}/playground" />
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Models.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ onDestroy(() => {
</script>

<NavPage title="Models on disk">
<NavPage title="Models on disk" searchEnabled="{false}">
<div slot="content" class="flex flex-col min-w-full min-h-full">
<div class="min-w-full min-h-full flex-1">
{#if loading}
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Recipe.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const onClickRepository = () => {
}
</script>

<NavPage title="{recipe?.name || ''}" icon="{getIcon(recipe?.icon)}">
<NavPage title="{recipe?.name || ''}" icon="{getIcon(recipe?.icon)}" searchEnabled="{false}">
<svelte:fragment slot="tabs">
<Tab title="Summary" url="{recipeId}" />
<Tab title="Models" url="{recipeId}/models" />
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Recipes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ onMount(async () => {
</script>

<NavPage title="Recipe Catalog">
<NavPage title="Recipe Catalog" searchEnabled="{false}">
<div slot="content" class="flex flex-col min-w-full min-h-full">
<div class="min-w-full min-h-full flex-1">
<div class="px-5 space-y-5 h-full">
Expand Down

0 comments on commit a87d3b4

Please sign in to comment.