diff --git a/public/home/home.js b/public/home/home.js index aabd5c4cf..a93c8599b 100644 --- a/public/home/home.js +++ b/public/home/home.js @@ -83,7 +83,8 @@ socket.onmessage = function (e) { html += " " + getRepoLink(record) + "" } else if(record.OpType == "9" || record.OpType == "5"){ - actionName = actionName.replace("{branch}",record.RefName); + branch = "" + record.RefName + "" + actionName = actionName.replace("{branch}",branch); html += recordPrefix + actionName; html += " " + getRepoLink(record) + "" }else if(record.OpType == "17"){