From 07b9676f0d9d5b77cb9e8822795a8ad5fa400545 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 7 Nov 2018 08:32:22 +0100 Subject: [PATCH] Fix account component Signed-off-by: Thomas Citharel --- js/src/components/Account/Account.vue | 350 +++++++++++++------------- 1 file changed, 178 insertions(+), 172 deletions(-) diff --git a/js/src/components/Account/Account.vue b/js/src/components/Account/Account.vue index bcd4a0fcc..068348637 100644 --- a/js/src/components/Account/Account.vue +++ b/js/src/components/Account/Account.vue @@ -1,177 +1,173 @@ @@ -182,7 +178,7 @@ export default { name: 'Account', data() { return { - loading: true, + actor: null, }; }, props: { @@ -191,6 +187,16 @@ export default { required: true, }, }, + apollo: { + actor: { + query: FETCH_ACTOR, + variables() { + return { + name: this.$route.params.name, + }; + }, + }, + }, created() { }, watch: {