parent
2a84d8239b
commit
74cc1722ea
@ -519,10 +519,11 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
socket.emit("sessions:get");
|
socket.emit("sessions:get");
|
||||||
|
|
||||||
// Enable protocol handler registration if supported
|
// Enable protocol handler registration if supported,
|
||||||
if (window.navigator.registerProtocolHandler) {
|
// and the network configuration is not locked
|
||||||
this.canRegisterProtocol = true;
|
this.canRegisterProtocol =
|
||||||
}
|
window.navigator.registerProtocolHandler &&
|
||||||
|
!this.$store.state.serverConfiguration.lockNetwork;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onChange(event) {
|
onChange(event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user