This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new d3e261d5 fix(editor): fix wrong link to target branch in PR preview tab
d3e261d5 is described below
commit d3e261d5cfe564b06f5dc703bb33ec2678fa04e4
Author: plainheart <[email protected]>
AuthorDate: Fri Jun 30 14:43:40 2023 +0800
fix(editor): fix wrong link to target branch in PR preview tab
---
src/editor/Editor.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/editor/Editor.vue b/src/editor/Editor.vue
index a9640537..9c1bd50d 100644
--- a/src/editor/Editor.vue
+++ b/src/editor/Editor.vue
@@ -226,7 +226,7 @@
<el-descriptions-item :label="$t('editor.prPreview.toBranch')">
<a
target="_blank"
- :href="pr.head.repo.html_url + '/tree/' + pr.head.ref"
+ :href="pr.base.repo.html_url + '/tree/' + pr.base.ref"
:title="pr.base.label"
>
{{ pr.base.ref }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]