From 6b2d09bba7f0aa0f00880745cc71323edccff80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Zu=CC=88hlke?= Date: Mon, 20 Apr 2020 14:49:02 +0200 Subject: [PATCH] add branch name to the display of a PushEvent --- src/components/Profile.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/Profile.vue b/src/components/Profile.vue index 8d6057e..c879c1d 100644 --- a/src/components/Profile.vue +++ b/src/components/Profile.vue @@ -319,6 +319,8 @@ export default { commit += "s"; } //if event is pushed + // ref starts with "refs/heads/" + let branchRef = activity.payload.ref.slice(11) stmnt = createIcon + "Pushed " + @@ -326,6 +328,14 @@ export default { " " + commit + " to " + + '' + + branchRef + + "" + + " in " + repoURL; break; case "WatchEvent":