Reconnect to existing session
This commit is contained in:
parent
02f919af47
commit
8779d82169
@ -30,6 +30,10 @@
|
||||
></b-form-input>
|
||||
</b-form-group>
|
||||
</b-col>
|
||||
<b-col>
|
||||
<b-button v-on:click="attemptReconnect()">Reconnect
|
||||
</b-button>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<b-row v-for="(item, index) in scenarios" v-bind:key="index" class="border bottom-buffer">
|
||||
<b-col>
|
||||
@ -418,6 +422,16 @@ export default {
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
attemptReconnect: function() {
|
||||
var self = this;
|
||||
Vue.axios.get(`/grpob/participant/${self.participant}`)
|
||||
.then(function(response){
|
||||
self.scenarios = response.data;
|
||||
})
|
||||
.catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user