|
|
@ -21,9 +21,6 @@ |
|
|
|
<div class="block bg-slate-100 rounded-md flex items-center px-4 py-3 mb-4"> |
|
|
|
<fa icon="circle-check" class="fa-fw text-blue-600 text-xl mr-3"></fa> |
|
|
|
<span class="overflow-hidden"> |
|
|
|
<h2 class="text-xl font-semibold mb-0"> |
|
|
|
{{ givenName }} |
|
|
|
</h2> |
|
|
|
<div class="text-sm text-slate-500 truncate"> |
|
|
|
<b>ID:</b> <code>{{ activeDid }}</code> |
|
|
|
</div> |
|
|
@ -90,7 +87,6 @@ export default class IdentitySwitcherView extends Vue { |
|
|
|
public activeDid = ""; |
|
|
|
public apiServer = ""; |
|
|
|
public apiServerInput = ""; |
|
|
|
public givenName = ""; |
|
|
|
public otherIdentities: Array<{ did: string }> = []; |
|
|
|
public showContactGives = false; |
|
|
|
|
|
|
@ -111,9 +107,6 @@ export default class IdentitySwitcherView extends Vue { |
|
|
|
this.activeDid = settings?.activeDid || ""; |
|
|
|
this.apiServer = settings?.apiServer || ""; |
|
|
|
this.apiServerInput = settings?.apiServer || ""; |
|
|
|
this.givenName = |
|
|
|
(settings?.firstName || "") + |
|
|
|
(settings?.lastName ? ` ${settings.lastName}` : ""); // deprecated, pre v 0.1.3 |
|
|
|
this.showContactGives = !!settings?.showContactGivesInline; |
|
|
|
|
|
|
|
const identity = await this.getIdentity(this.activeDid); |
|
|
|