From 93ed4657ad92ce8466f1c20b5e1d12546d8cf622 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 3 Nov 2024 15:23:03 -0700 Subject: [PATCH] fix tests (from project-page switch 4 commits ago) and fix linting --- src/libs/endorserServer.ts | 7 +++- src/views/DIDView.vue | 4 ++- src/views/DiscoverView.vue | 4 +-- src/views/HomeView.vue | 26 +++++++------- src/views/NewActivityView.vue | 35 +++++++++++++------ test-playwright/20-create-project.spec.ts | 7 ++-- test-playwright/25-create-project-x10.spec.ts | 6 ++-- test-playwright/50-record-offer.spec.ts | 3 ++ 8 files changed, 56 insertions(+), 36 deletions(-) diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 3dfb815..82025b9 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -587,7 +587,12 @@ export async function setPlanInCache( planCache.set(handleId, planSummary); } -export async function getNewOffersToUser(axios: Axios, apiServer: string, activeDid: string, lastAckedOfferToUserJwtId?: string) { +export async function getNewOffersToUser( + axios: Axios, + apiServer: string, + activeDid: string, + lastAckedOfferToUserJwtId?: string, +) { let url = `${apiServer}/api/v2/report/offers?recipientDid=${activeDid}`; if (lastAckedOfferToUserJwtId) { url += "&afterId=" + lastAckedOfferToUserJwtId; diff --git a/src/views/DIDView.vue b/src/views/DIDView.vue index cff39df..aac5913 100644 --- a/src/views/DIDView.vue +++ b/src/views/DIDView.vue @@ -200,7 +200,9 @@
-
Claims That Involve {{ isMyDid ? "You" : "Them" }}
+
+ Claims That Involve {{ isMyDid ? "You" : "Them" }} +