From 495533216b87fb99a5f27adfc24e43b63a56df28 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Tue, 15 Dec 2020 21:49:11 -0700 Subject: [PATCH] Adjust how the PastQuestions is being toggled. --- web/src/components/GameBoard.vue | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/web/src/components/GameBoard.vue b/web/src/components/GameBoard.vue index 53a5eda..b2bbaff 100644 --- a/web/src/components/GameBoard.vue +++ b/web/src/components/GameBoard.vue @@ -86,7 +86,7 @@ @@ -135,19 +135,6 @@ export default { // TODO -> Send data to socket.io server console.log(data) }, - toggleInsert() { - /** - * When toggling the insert, we want to request new information - * from the server in case there has been an update since the last - * time it was displayed. We only want to do this on appear though, - * never on disappear. - */ - if (!this.visible) { - // TODO -> request questions from server - console.log(`Fetching questions for team`) - }; - this.visible = !this.visible; - }, }, sockets: { UpdateAnswer(data) {