删除更新app时commit的链接
This commit is contained in:
parent
3119ce9fcf
commit
42df11f299
@ -122,18 +122,7 @@ export default {
|
|||||||
return row.will_branch_change
|
return row.will_branch_change
|
||||||
? row.current_branch
|
? row.current_branch
|
||||||
: row.current_tag || row.current_hash.slice(0, 7);
|
: row.current_tag || row.current_hash.slice(0, 7);
|
||||||
},
|
}
|
||||||
link(value, row) {
|
|
||||||
if (row.will_branch_change) {
|
|
||||||
return `${row.repository_url}/tree/${row.current_branch}`;
|
|
||||||
}
|
|
||||||
if (row.current_tag) {
|
|
||||||
return `${row.repository_url}/releases/tag/${row.current_tag}`;
|
|
||||||
}
|
|
||||||
if (row.current_hash) {
|
|
||||||
return `${row.repository_url}/commit/${row.current_hash}`;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '下一个版本',
|
label: '下一个版本',
|
||||||
@ -142,18 +131,7 @@ export default {
|
|||||||
return row.will_branch_change
|
return row.will_branch_change
|
||||||
? row.branch
|
? row.branch
|
||||||
: row.next_tag || row.next_hash.slice(0, 7);
|
: row.next_tag || row.next_hash.slice(0, 7);
|
||||||
},
|
}
|
||||||
link(value, row) {
|
|
||||||
if (row.will_branch_change) {
|
|
||||||
return `${row.repository_url}/tree/${row.branch}`;
|
|
||||||
}
|
|
||||||
if (row.next_tag) {
|
|
||||||
return `${row.repository_url}/releases/tag/${row.next_tag}`;
|
|
||||||
}
|
|
||||||
if (row.next_hash) {
|
|
||||||
return `${row.repository_url}/commit/${row.next_hash}`;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user