Skip to content

Commit

Permalink
Flip args
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Jul 25, 2024
1 parent 7cd80be commit 353873f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/api/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export async function removeDocumentsFromProject(
}

export async function getPublicProjects(
cursor?: string,
query?: string,
cursor?: string,
expand: string = DEFAULT_EXPAND,
): Promise<Page<Project>> {
// Returns all public projects
Expand Down
6 changes: 3 additions & 3 deletions src/projects/Filters.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<li {id} class:selected={$filter === id}>
<Filter {name} selected={$filter === id}>
<input slot="input" type="radio" value={id} bind:group={$filter} />
<span class="icon" slot="icon"
><svelte:component this={filterIcons[id]} /></span
>
<span class="icon" slot="icon">
<svelte:component this={filterIcons[id]} />
</span>
</Filter>
</li>
{/each}
Expand Down

0 comments on commit 353873f

Please sign in to comment.