umanggarg Claude Sonnet 4.6 commited on
Commit
1e4cb92
·
1 Parent(s): e6a568f

fix: show "All repos" in header badge instead of "all"

Browse files
Files changed (1) hide show
  1. ui/src/App.jsx +2 -4
ui/src/App.jsx CHANGED
@@ -652,11 +652,9 @@ export default function App() {
652
  )}
653
  {activeRepo ? (
654
  <span className="repo-badge">
655
- {(() => {
656
  const [owner, name] = activeRepo.split("/");
657
- return name ? (
658
- <><span style={{ opacity: 0.55, fontWeight: 400 }}>{owner}/</span><span style={{ fontWeight: 600 }}>{name}</span></>
659
- ) : activeRepo;
660
  })()}
661
  </span>
662
  ) : (
 
652
  )}
653
  {activeRepo ? (
654
  <span className="repo-badge">
655
+ {activeRepo === "all" ? "All repos" : (() => {
656
  const [owner, name] = activeRepo.split("/");
657
+ return <><span style={{ opacity: 0.55, fontWeight: 400 }}>{owner}/</span><span style={{ fontWeight: 600 }}>{name}</span></>;
 
 
658
  })()}
659
  </span>
660
  ) : (