A platform for community discussion. Free, open, simple.
UX: dashboard links to git commits list instead of git comparison
Neil Lalonde85140aa09a15
diff --git a/app/assets/javascripts/admin/models/version-check.js.es6 b/app/assets/javascripts/admin/models/version-check.js.es6index ce41d667133..2012d0ff081 100644--- a/app/assets/javascripts/admin/models/version-check.js.es6+++ b/app/assets/javascripts/admin/models/version-check.js.es6@@ -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}`;}},