Remote state
This commit is contained in:
@ -88,10 +88,10 @@
|
||||
computed: {
|
||||
host: {
|
||||
get() {
|
||||
return vistax.state.host;
|
||||
return vistax.localstate.host;
|
||||
},
|
||||
set(value) {
|
||||
vistax.state.host = value;
|
||||
vistax.localstate.host = value;
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -111,7 +111,10 @@
|
||||
server(value) { this.x_server = value; },
|
||||
x_server(value) { this.$emit('update:server', value); },
|
||||
user(value) { this.x_user = value; },
|
||||
x_user(value) { this.$emit('update:user', value); }
|
||||
async x_user(value) {
|
||||
if(value) await this.x_client.setup_remotestate();
|
||||
this.$emit('update:user', value);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async connect() {
|
||||
|
Reference in New Issue
Block a user