From 9ab5e231daa030a797c0d5d23da30812c6c3b8bd Mon Sep 17 00:00:00 2001 From: pawlaczyk Date: Wed, 9 Jan 2019 10:47:13 +0100 Subject: [PATCH] [vue] Wyswietlanie na froncie uzytkownikow z opisami i punktami --- frontend/app/src/views/Game.vue | 5 ---- frontend/app/src/views/Login.vue | 24 ++++++++++++++-- frontend/app/src/views/Register.vue | 44 +++++++++++++++++++++++++++++ frontend/app/src/views/Users.vue | 5 ++-- 4 files changed, 68 insertions(+), 10 deletions(-) diff --git a/frontend/app/src/views/Game.vue b/frontend/app/src/views/Game.vue index 63286b0..1329255 100644 --- a/frontend/app/src/views/Game.vue +++ b/frontend/app/src/views/Game.vue @@ -15,9 +15,6 @@ - - - @@ -46,9 +43,7 @@ diff --git a/frontend/app/src/views/Users.vue b/frontend/app/src/views/Users.vue index 08a5188..e7a9a24 100644 --- a/frontend/app/src/views/Users.vue +++ b/frontend/app/src/views/Users.vue @@ -8,7 +8,7 @@ - + @@ -37,7 +37,6 @@ import axios from 'axios' export default { data(){ return{ - userAvatar: '/user-cylinder.png', allUsers: [] } }, @@ -64,7 +63,7 @@ export default { }) //Promise.all czeka na wykonanie wszystkich - var fromResolve = Promise.race([promiseUsers]).then(function(){ + Promise.race([promiseUsers]).then(function(){ promiseUsers.then(function(fromResolve){ objectVue.allUsers = fromResolve return fromResolve