atmosphere explorer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

only show missing PDS when repo is DID

Juliet ef068af8 9da9b85c

+5 -4
+4 -3
src/components/navbar.tsx
··· 50 50 <span 51 51 classList={{ 52 52 "iconify shrink-0 transition-colors duration-200": true, 53 - "lucide--alert-triangle text-red-500 dark:text-red-400": pds() === "Missing PDS", 53 + "lucide--alert-triangle text-red-500 dark:text-red-400": 54 + pds() === "Missing PDS" && props.params.repo?.startsWith("did:"), 54 55 "lucide--hard-drive text-neutral-500 group-hover:text-neutral-700 dark:text-neutral-400 dark:group-hover:text-neutral-200": 55 - pds() !== "Missing PDS", 56 + pds() !== "Missing PDS" || !props.params.repo?.startsWith("did:"), 56 57 }} 57 58 ></span> 58 59 </Tooltip> 59 - <Show when={pds()}> 60 + <Show when={pds() && (pds() !== "Missing PDS" || props.params.repo?.startsWith("did:"))}> 60 61 <Show 61 62 when={pds() === "Missing PDS"} 62 63 fallback={
+1 -1
src/views/repo.tsx
··· 321 321 </div> 322 322 <div class="flex gap-1"> 323 323 <Show when={error() && error() !== "Missing PDS"}> 324 - <div class="flex items-center gap-1 text-red-500 dark:text-red-400"> 324 + <div class="flex items-center gap-1 font-medium text-red-500 dark:text-red-400"> 325 325 <span class="iconify lucide--alert-triangle"></span> 326 326 <span>{error()}</span> 327 327 </div>