Make plugins scrollable

This commit is contained in:
Gregory Schier
2025-10-19 08:21:36 -07:00
parent ba6163b6d8
commit 07b90c6ae3
2 changed files with 2 additions and 7 deletions

View File

@@ -96,11 +96,7 @@ pub async fn search_plugins<R: Runtime>(
}
fn build_url(path: &str) -> Url {
let base_url = if is_dev() {
"http://localhost:9444/api/v1/plugins"
} else {
"https://api.yaak.app/api/v1/plugins"
};
let base_url = "https://api.yaak.app/api/v1/plugins";
Url::from_str(&format!("{base_url}{path}")).unwrap()
}

View File

@@ -44,7 +44,6 @@ export function SettingsPlugins() {
label="Plugins"
onChangeValue={setTab}
addBorders
tabListClassName="!-ml-3"
tabs={[
{ label: 'Discover', value: 'search' },
{
@@ -243,7 +242,7 @@ function PluginSearch() {
defaultValue={query}
/>
</HStack>
<div className="w-full h-full">
<div className="w-full h-full overflow-y-auto">
{results.data == null ? (
<EmptyStateText>
<LoadingIcon size="xl" className="text-text-subtlest" />