From de8eb815efe0c7dc53389ede96dcaca540109a9d Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Wed, 10 Jun 2020 01:06:35 +0900
Subject: [PATCH] refs #1427 Get and show identity proof of accounts
---
.../Contents/SideBar/AccountProfile.spec.ts | 3 +-
.../Contents/SideBar/AccountProfile.vue | 49 ++++++++++++++++++-
.../Contents/SideBar/AccountProfile.ts | 27 ++++++++--
3 files changed, 72 insertions(+), 7 deletions(-)
diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts
index 826c29c9..69fcea81 100644
--- a/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts
+++ b/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts
@@ -7,7 +7,8 @@ const state = (account: Entity.Account | null): AccountProfileState => {
return {
loading: false,
relationship: null,
- account: account
+ account: account,
+ identityProofs: []
}
}
diff --git a/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue b/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue
index 3d572d5d..ea0e3119 100644
--- a/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue
+++ b/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile.vue
@@ -69,6 +69,14 @@
+
+
+ -
+ {{ identity.provider }}
+
+ - {{ identity.provider_username }}
+
+