Reconnect to existing session

This commit is contained in:
neviyn 2019-07-16 14:39:03 +01:00
parent 02f919af47
commit 8779d82169

View File

@ -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)
})
}
}
};