Skip to content

Commit 4b97241

Browse files
authored
Add tickets in the header nav (#4204)
1 parent 3f1648d commit 4b97241

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

frontend/src/components/header/index.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ export const Header = () => {
4242
);
4343

4444
const actions: Action[] = [
45-
// isRunning && hasSomethingLive
46-
// ? {
47-
// text: getTranslatedMessage("header.streaming", language),
48-
// icon: "live-circle",
49-
// link: "/streaming",
50-
// background: "red",
51-
// hoverBackground: "red",
52-
// }
53-
// : {
54-
// text: getTranslatedMessage("header.tickets", language),
55-
// icon: "tickets",
56-
// link: "/tickets",
57-
// },
45+
isRunning && hasSomethingLive
46+
? {
47+
text: getTranslatedMessage("header.streaming", language),
48+
icon: "live-circle",
49+
link: "/streaming",
50+
background: "red",
51+
hoverBackground: "red",
52+
}
53+
: {
54+
text: getTranslatedMessage("header.tickets", language),
55+
icon: "tickets",
56+
link: "/tickets",
57+
},
5858
{
5959
text:
6060
isReady && loggedIn

0 commit comments

Comments
 (0)