forked from trent_larson/crowd-funder-for-time-pwa
add tests for gives to & from projects
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
['GiveAction', 'Offer', 'PlanAction'].includes(
|
||||
veriClaim.claimType as string,
|
||||
) && veriClaim.issuer === activeDid
|
||||
// a PlanAction agent also could edit one of those, but rather than add more Plan-specific logic to detect the agent
|
||||
// a PlanAction agent also could edit one of those,
|
||||
// but rather than add more Plan-specific logic to detect the agent
|
||||
// we'll let them click the Project link and edit from there
|
||||
"
|
||||
@click="onClickEditClaim"
|
||||
|
||||
@@ -300,7 +300,7 @@
|
||||
|
||||
<!-- Now, gives TO this project in the middle -->
|
||||
<!-- (similar to "FROM" gift display below) -->
|
||||
<div class="bg-slate-100 px-4 py-3 rounded-md">
|
||||
<div class="bg-slate-100 px-4 py-3 rounded-md" data-testId="gives-to">
|
||||
<div v-if="activeDid && isRegistered">
|
||||
<div class="text-center">
|
||||
<button
|
||||
@@ -387,7 +387,7 @@
|
||||
|
||||
<!-- Finally, gives FROM this project on the right -->
|
||||
<!-- (similar to "TO" gift display above) -->
|
||||
<div class="bg-slate-100 px-4 py-3 rounded-md">
|
||||
<div class="bg-slate-100 px-4 py-3 rounded-md" data-testId="gives-from">
|
||||
<div v-if="activeDid && isRegistered">
|
||||
<div class="text-center">
|
||||
<button
|
||||
@@ -540,7 +540,7 @@ export default class ProjectViewView extends Vue {
|
||||
offersToThis: Array<OfferSummaryRecord> = [];
|
||||
offersHitLimit = false;
|
||||
projectId = ""; // handle ID
|
||||
recentlyCheckedAndUnconfirmableJwts = [];
|
||||
recentlyCheckedAndUnconfirmableJwts: string[] = [];
|
||||
showDidCopy = false;
|
||||
startTime = "";
|
||||
truncatedDesc = "";
|
||||
|
||||
Reference in New Issue
Block a user