|
@ -234,22 +234,25 @@ |
|
|
<h3 class="text-sm uppercase font-semibold mb-3"> |
|
|
<h3 class="text-sm uppercase font-semibold mb-3"> |
|
|
Contributions To This Idea |
|
|
Contributions To This Idea |
|
|
</h3> |
|
|
</h3> |
|
|
<ul> |
|
|
<!-- centering because long, wrapped project names didn't left align with blank or "text-left" --> |
|
|
<li v-for="plan in fulfillersToThis" :key="plan.handleId"> |
|
|
<div class="text-center"> |
|
|
|
|
|
<div v-for="plan in fulfillersToThis" :key="plan.handleId"> |
|
|
<button |
|
|
<button |
|
|
@click="onClickLoadProject(plan.handleId)" |
|
|
@click="onClickLoadProject(plan.handleId)" |
|
|
class="text-blue-500" |
|
|
class="text-blue-500" |
|
|
> |
|
|
> |
|
|
{{ plan.name }} |
|
|
{{ plan.name }} |
|
|
</button> |
|
|
</button> |
|
|
</li> |
|
|
</div> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div v-if="fulfilledByThis" class="bg-slate-100 px-4 py-3 rounded-md"> |
|
|
<div v-if="fulfilledByThis" class="bg-slate-100 px-4 py-3 rounded-md"> |
|
|
<h3 class="text-sm uppercase font-semibold mb-3"> |
|
|
<h3 class="text-sm uppercase font-semibold mb-3"> |
|
|
Contributions By This Idea |
|
|
Contributions By This Idea |
|
|
</h3> |
|
|
</h3> |
|
|
|
|
|
<!-- centering because long, wrapped project names didn't left align with blank or "text-left" --> |
|
|
|
|
|
<div class="text-center"> |
|
|
<button |
|
|
<button |
|
|
@click="onClickLoadProject(fulfilledByThis.handleId)" |
|
|
@click="onClickLoadProject(fulfilledByThis.handleId)" |
|
|
class="text-blue-500" |
|
|
class="text-blue-500" |
|
@ -259,6 +262,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<GiftedDialog |
|
|
<GiftedDialog |
|
|
ref="customGiveDialog" |
|
|
ref="customGiveDialog" |
|
@ -356,12 +360,6 @@ export default class ProjectViewView extends Vue { |
|
|
.equals(activeDid) |
|
|
.equals(activeDid) |
|
|
.first()) as Account; |
|
|
.first()) as Account; |
|
|
const identity = JSON.parse(account?.identity || "null"); |
|
|
const identity = JSON.parse(account?.identity || "null"); |
|
|
|
|
|
|
|
|
if (!identity) { |
|
|
|
|
|
throw new Error( |
|
|
|
|
|
"Attempted to load project records with no identity available.", |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
return identity; |
|
|
return identity; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|