add public gettter.

This commit is contained in:
Miroslav Šedivý 2020-11-10 21:46:22 +01:00
parent 71a6cea82e
commit 7e5b545a0f

View File

@ -120,6 +120,10 @@
return this.state.connection.websocket == 'connected' && this.state.connection.webrtc == 'connected' return this.state.connection.websocket == 'connected' && this.state.connection.webrtc == 'connected'
} }
public get controlling() {
return this.state.member.is_controlling
}
///////////////////////////// /////////////////////////////
// Public events // Public events
///////////////////////////// /////////////////////////////