mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-12 17:20:36 +08:00
Temporary fix for new remotes api
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import { formatSeedId } from "@app/utils";
|
||||
|
||||
export let peer: string | null = null;
|
||||
export let peers: string[];
|
||||
export let peers: (string | { id: string })[];
|
||||
export let toggleDropdown: (input: string) => void;
|
||||
export let peersDropdown = false;
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<Dropdown
|
||||
items={peers}
|
||||
items={peers.map((p) => typeof(p) == "string" ? p : p.id)}
|
||||
visible={peersDropdown}
|
||||
on:select={(e) => switchPeer(e.detail)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user