Skip to content

Commit

Permalink
Return MetadataTab position
Browse files Browse the repository at this point in the history
  • Loading branch information
GusevPM committed Oct 13, 2023
1 parent e779225 commit cb95459
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/views/contract/MenuToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ export default {
text: 'Tickets',
})
}
if (this.metadata) {
tabs.push({
to: this.pushTo({ name: 'metadata' }),
icon: 'mdi-puzzle-outline',
text: 'Metadata',
})
}
tabs.push({
to: this.pushTo({ name: 'fork' }),
Expand Down Expand Up @@ -117,15 +125,6 @@ export default {
})
}
if (this.metadata) {
tabs.push({
to: this.pushTo({ name: 'metadata' }),
icon: 'mdi-puzzle-outline',
text: 'Metadata',
})
}
return tabs;
}
},
Expand Down

0 comments on commit cb95459

Please sign in to comment.