Spaces:
Running
Running
fix: show "All repos" in header badge instead of "all"
Browse files- 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
|
| 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 |
) : (
|