Merge pull request #342 from ralymov/master

Render validator website as link
This commit is contained in:
ping 2023-03-09 18:47:13 +08:00 committed by GitHub
commit a84e1f39fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,11 @@
<h4 class="mb-0"> <h4 class="mb-0">
{{ validator.description.moniker }} {{ validator.description.moniker }}
</h4> </h4>
<span class="card-text">{{ validator.description.website }}</span> <span class="card-text">
<b-link :href="validator.description.website">
{{ validator.description.website }}
</b-link>
</span>
</div> </div>
<div class="d-flex flex-wrap"> <div class="d-flex flex-wrap">
<b-button <b-button
@ -270,7 +274,7 @@
<script> <script>
import { import {
BCard, BButton, BAvatar, BRow, BCol, BTable, BCardFooter, VBTooltip, VBModal, BBadge, BPagination, BCard, BButton, BAvatar, BRow, BCol, BTable, BCardFooter, VBTooltip, VBModal, BBadge, BPagination, BLink,
} from 'bootstrap-vue' } from 'bootstrap-vue'
import { import {
@ -293,6 +297,7 @@ export default {
BBadge, BBadge,
BPagination, BPagination,
BTable, BTable,
BLink,
StakingAddressComponent, StakingAddressComponent,
StakingCommissionComponent, StakingCommissionComponent,
StakingRewardComponent, StakingRewardComponent,