mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 16:29:22 +00:00
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…
x
Reference in New Issue
Block a user