dcgtc / dgrants

Decentralized Grant platform that implements quadratic funding.
GNU Affero General Public License v3.0
83 stars 39 forks source link

Add correct link for name in contributions #597

Open metafraction opened 2 years ago

metafraction commented 2 years ago

We are using the ContributionDetail.vue component for both grant contributions as well as matchingPool contributions. The link in the name links to the homepage. We need the correct link for each.

We can create a link field inside ContributionsDetail to handle this.

link for grant contribution: :href="'#/dgrants/' + contribution.grantId" link for matchingPool contribution: :href="'#/dgrants/rounds' + contribution.grantAddress"