Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Grey out DIDs of remotes without alias
Sebastian Martinez committed 2 years ago
commit 476f2177142b85cc1c8447a762beb978b5ddc5c2
parent daba9fca8281405134d64036bde300f2181f73fe
1 file changed +9 -2
modified src/views/projects/Source/PeerSelector.svelte
@@ -34,6 +34,9 @@
    color: var(--color-foreground-contrast);
    padding: 0 0.25rem;
  }
+
  .no-alias {
+
    color: var(--color-foreground-dim);
+
  }
</style>

<Popover
@@ -77,8 +80,12 @@
        <DropdownListItem
          selected={item.selected}
          title={createTitle(item.remote)}>
-
          <div style:height="1rem"><Avatar nodeId={item.remote.id} /></div>
-
          <span style:font-family="var(--font-family-monospace)">
+
          <div style:height="1rem">
+
            <Avatar nodeId={item.remote.id} />
+
          </div>
+
          <span
+
            style:font-family="var(--font-family-monospace)"
+
            class:no-alias={!item.remote.alias}>
            {item.remote.alias || formatNodeId(item.remote.id)}
          </span>
          {#if item.remote.delegate}