UX: dashboard links to git commits list instead of git comparison
Previously the link went to a comparison of the installed commit with the tests-passed branch. This change will show the list of installed commits.
This commit is contained in:
parent
d1b86352d4
commit
85140aa09a
|
@ -17,12 +17,10 @@ const VersionCheck = Discourse.Model.extend({
|
|||
return missingVersionsCount === 1;
|
||||
},
|
||||
|
||||
@computed("git_branch", "installed_sha")
|
||||
gitLink(gitBranch, installedSHA) {
|
||||
if (gitBranch && installedSHA) {
|
||||
return `https://github.com/discourse/discourse/compare/${installedSHA}...${gitBranch}`;
|
||||
} else if (installedSHA) {
|
||||
return `https://github.com/discourse/discourse/tree/${installedSHA}`;
|
||||
@computed("installed_sha")
|
||||
gitLink(installedSHA) {
|
||||
if (installedSHA) {
|
||||
return `https://github.com/discourse/discourse/commits/${installedSHA}`;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue