Skip to content

Commit

Permalink
feat: PR number tag adds link to repository (#287)
Browse files Browse the repository at this point in the history
* feat: PR number tag adds link to repository

* chore: format
  • Loading branch information
btea authored Nov 1, 2024
1 parent 666e0cd commit 53b7ca7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,13 @@ function refreshView() {
languageToolsVersion
}}</el-tag
>
<el-tag v-if="store.pr" size="small">PR {{ store.pr }}</el-tag>
<el-tag v-if="store.pr" size="small">
<el-link
type="primary"
:href="`https://github.com/element-plus/element-plus/pull/${store.pr}`"
>PR {{ store.pr }}</el-link
>
</el-tag>
</div>
</div>

Expand Down

0 comments on commit 53b7ca7

Please sign in to comment.