Skip to content

Commit

Permalink
only show crdt projects from remote servers on the home page
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Nov 18, 2024
1 parent 4e164b3 commit 8d7b79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/viewer/src/HomeView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
<Button variant="fill" href="/api/auth/login/{server.authority}">Login</Button>
{/if}
</div>
{@const serverProjects = remoteProjects[server.authority] ?? []}
{@const serverProjects = remoteProjects[server.authority]?.filter(p => p.crdt) ?? []}
{#each serverProjects as project}
{@const localProject = matchesProject(projects, project)}
<div class="flex flex-row items-center px-10">
Expand Down

0 comments on commit 8d7b79f

Please sign in to comment.