File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments