From 8779d82169b95d166a1b0a1109dd1a82280eeb19 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Tue, 16 Jul 2019 14:39:03 +0100 Subject: [PATCH] Reconnect to existing session --- frontend/src/views/GroupSessionInput.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/frontend/src/views/GroupSessionInput.vue b/frontend/src/views/GroupSessionInput.vue index dee8e45..b3277f4 100644 --- a/frontend/src/views/GroupSessionInput.vue +++ b/frontend/src/views/GroupSessionInput.vue @@ -30,6 +30,10 @@ > + + Reconnect + + @@ -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) + }) } } };