Skip to content

Commit

Permalink
🎨 Add rel setting to external link
Browse files Browse the repository at this point in the history
  • Loading branch information
lancatlin committed Aug 18, 2022
1 parent 1fc2411 commit 6f8cd37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions components/ISCNList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
</NuxtLink>
</td>
<td>
<a v-for="holder in record.stakeholders.filter(s => s.entity)" :key="holder.entity.name">
<NuxtLink
:to="`/stakeholder/${encodeURIComponent(holder.entity.name)}`"
>
{{ holder.entity.name }}
</NuxtLink>
</a>
<NuxtLink
v-for="holder in record.stakeholders.filter(s => s.entity)"
:key="holder.entity.name"
:to="`/stakeholder/${encodeURIComponent(holder.entity.name)}`"
>
{{ holder.entity.name }}
</NuxtLink>
</td>
<td>
<NuxtLink :to="`/owner/${encodeURIComponent(record.owner)}`">
Expand All @@ -51,6 +51,7 @@
<td>
<a
v-if="record.contentMetadata.url"
rel="noreferrer noopener"
:href="record.contentMetadata.url"
target="_blank"
>
Expand Down Expand Up @@ -138,7 +139,6 @@ export default {
const key = this.$route.query.key || 0
this.reverse = this.$route.query.reverse !== 'false'
const url = `${this.$props.url}&limit=${limit}&key=${key}&reverse=${this.reverse}`
console.log(url)
const res = await this.$axios.$get(url)
this.key = res.pagination.next_key
this.records = res.records.map((record) => {
Expand Down
2 changes: 1 addition & 1 deletion components/Wallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Disconnect
</button>
</div>
<button class="button" v-else @click="connectWallet">
<button v-else class="button" @click="connectWallet">
Connect
</button>
</div>
Expand Down

0 comments on commit 6f8cd37

Please sign in to comment.