Skip to content

Commit c5ee6ef

Browse files
authored
Add tickets link in the header (#4503)
1 parent f9b72ae commit c5ee6ef

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

frontend/src/components/header/index.tsx

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

4444
const actions: Action[] = [
45+
isRunning
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+
},
4558
{
4659
text:
4760
isReady && loggedIn

0 commit comments

Comments
 (0)