Skip to content

Commit

Permalink
Fix: navigation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jul 18, 2023
1 parent c9265eb commit aed0f89
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
7 changes: 6 additions & 1 deletion src/views/constant/Constant.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export default {
to: '/',
},
{
to: `/${this.network}/#`,
to: {
name: "recently_called",
params: {
network: this.network
}
},
text: toTitleCase(this.network),
},
{
Expand Down
7 changes: 6 additions & 1 deletion src/views/contract/Contract.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ export default {
to: '/',
},
{
to: `/${this.network}/#`,
to: {
name: "recently_called",
params: {
network: this.network
}
},
text: toTitleCase(this.network),
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/views/network/NetworkInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
>{{ field.name }}</v-list-item-subtitle
>
<v-list-item-title class="body-2">
{{ state ? state[field.key] : '' }}
{{ state[field.key] }}
</v-list-item-title>
</v-list-item-content>
</v-list-item>
Expand Down
7 changes: 6 additions & 1 deletion src/views/opg/OperationGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,13 @@ export default {
to: "/",
},
{
to: {
name: "recently_called",
params: {
network: this.network
}
},
text: toTitleCase(this.network),
to: `/${this.network}/#`,
},
{
text: this.hash,
Expand Down

0 comments on commit aed0f89

Please sign in to comment.