diff --git a/project.task.yaml b/project.task.yaml index c13535c..cec1585 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -24,6 +24,7 @@ tasks: - 24 Move to Vite +- .5 add link to further project / people when a project pays ahead - .5 add project ID to the URL, to make a project publicly-accessible - .5 remove edit from project page for projects owned by others - .5 fix where user 0 sees no txns from user 1 on contacts page but sees them on list page diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 60455fb..b351ff9 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -82,10 +82,15 @@ export function isHiddenDid(did) { /** always returns text, maybe UNNAMED_VISIBLE or UNKNOWN_ENTITY **/ -export function didInfo(did, activeDid, allMyDids, contacts) { - const myId: string | undefined = R.find(R.identity, allMyDids); +export function didInfo( + did: string, + activeDid: string, + allMyDids: Array, + contacts: Array, +): string { + const myId: string | undefined = R.find(R.equals(did), allMyDids, did); if (myId) { - return "You" + (myId.did !== activeDid ? " (Alt ID)" : ""); + return "You" + (myId !== activeDid ? " (Alt ID)" : ""); } else { const contact: Contact | undefined = R.find((c) => c.did === did, contacts); if (contact) { diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index a7919b5..6fee96f 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -135,7 +135,7 @@ -
+
-

... and from this Project

+

... and paid forward from this Project

@@ -108,7 +108,12 @@ }}
- + + {{ give.amount }}
@@ -130,7 +135,12 @@ }}
- + + {{ give.amount }}