PhlexPlexico / G5V

A front-end for G5API to manage matches/seasons/tournaments for CS:GO
MIT License
56 stars 29 forks source link

[Request] GoTV Button #30

Closed lukasz922 closed 3 years ago

lukasz922 commented 3 years ago

Hi, Old get5-web had a button GOTV maybe think new get5vue also had button GOTV ??

It would be enough added this GOTV port durring added New server

PhlexPlexico commented 3 years ago

GoTV ports have been introduced into the API and the front end will now show a GoTV button if a user wishes to connect to it (must be signed in first).

lukasz922 commented 3 years ago

admin can see too ? I have uploaded the current get5 i dont see button GOTV Button

PhlexPlexico commented 3 years ago

My bad - the match must be running and there must be an IP and user must be logged in:

https://github.com/PhlexPlexico/G5V/blob/232d9f4f136810047047de9ac5678b907897032d/src/components/MatchInfo.vue#L66

After that, there's a check to see if the tv port is null:

https://github.com/PhlexPlexico/G5V/blob/232d9f4f136810047047de9ac5678b907897032d/src/components/MatchInfo.vue#L85

That being said I haven't tested this much, if at all. But it should appear beside the connect button.

lukasz922 commented 3 years ago

i will test today for GOTV , i will start the match .i will check to see GOTV buttom. I back more info

PhlexPlexico commented 3 years ago

Fixed in latest push.

lukasz922 commented 3 years ago

VERY VERY THANKS !!!! Confirm GOTV button image