|
|
@ -85,7 +85,7 @@ |
|
|
|
</p> |
|
|
|
<router-link |
|
|
|
:to="{ name: 'start' }" |
|
|
|
class="block text-center text-md font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white mt-2 px-2 py-3 rounded-md" |
|
|
|
class="block text-center text-md font-bold bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white mt-2 px-2 py-3 rounded-md" |
|
|
|
> |
|
|
|
Create An Identifier</router-link |
|
|
|
> |
|
|
@ -201,7 +201,7 @@ |
|
|
|
:key="record.jwtId" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="border-b border-dashed border-slate-400 text-orange-400 pb-2 mb-2 font-bold uppercase text-sm" |
|
|
|
class="border-b border-dashed border-slate-400 text-orange-400 pb-2 mb-2 font-bold text-sm" |
|
|
|
v-if="record.jwtId == feedLastViewedClaimId" |
|
|
|
> |
|
|
|
You've already seen all the following |
|
|
@ -491,7 +491,10 @@ export default class HomeView extends Vue { |
|
|
|
* @param payload is the flag from the InfiniteScroll indicating if it should load |
|
|
|
**/ |
|
|
|
public async loadMoreGives(payload: boolean) { |
|
|
|
if (payload) { |
|
|
|
// Since feed now loads projects along the way, it takes longer |
|
|
|
// and the InfiniteScroll component triggers a load before finished. |
|
|
|
// One alternative is to totally separate the project link loading. |
|
|
|
if (payload && !this.isFeedLoading) { |
|
|
|
this.updateAllFeed(); |
|
|
|
} |
|
|
|
} |
|
|
@ -529,6 +532,9 @@ export default class HomeView extends Vue { |
|
|
|
// recipient.did is for legacy data, before March 2023 |
|
|
|
const recipientDid = |
|
|
|
claim.recipient?.identifier || (claim.recipient as any)?.did; // eslint-disable-line @typescript-eslint/no-explicit-any |
|
|
|
|
|
|
|
// This has indeed proven problematic. See loadMoreGives |
|
|
|
// We should display it immediately and then get the plan later. |
|
|
|
const plan = await getPlanFromCache( |
|
|
|
record.fulfillsPlanHandleId, |
|
|
|
identity, |
|
|
@ -618,7 +624,7 @@ export default class HomeView extends Vue { |
|
|
|
const beforeQuery = beforeId == null ? "" : "&beforeId=" + beforeId; |
|
|
|
const response = await fetch( |
|
|
|
endorserApiServer + |
|
|
|
"/api/v2/report/gives?giftNotTrade=true&" + |
|
|
|
"/api/v2/report/gives?giftNotTrade=true" + |
|
|
|
beforeQuery, |
|
|
|
{ |
|
|
|
method: "GET", |
|
|
|