fix didInfo logic, and add to project lists

This commit is contained in:
2023-07-20 19:02:18 -06:00
parent e48a4ed05b
commit 4866416aae
3 changed files with 23 additions and 8 deletions

View File

@@ -93,7 +93,9 @@
<h2 class="text-base font-semibold">{{ project.name }}</h2>
<div class="text-sm">
<fa icon="user" class="fa-fw text-slate-400"></fa>
{{ didInfo(project.issuer, activeDid, allMyDids, allContacts) }}
{{
didInfo(project.issuerDid, activeDid, allMyDids, allContacts)
}}
</div>
</div>
</a>
@@ -206,8 +208,8 @@ export default class DiscoverView extends Vue {
const plans: ProjectData[] = results.data;
if (plans) {
for (const plan of plans) {
const { name, description, handleId = plan.handleId, rowid } = plan;
this.projects.push({ name, description, handleId, rowid });
const { name, description, handleId, rowid, issuerDid } = plan;
this.projects.push({ name, description, handleId, rowid, issuerDid });
}
this.remoteCount = this.projects.length;
} else {