diff options
author | Oliver Poignant <oliver@poignant.se> | 2017-01-08 01:06:24 +0100 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2017-01-08 01:06:24 +0100 |
commit | 324c3518d4b98da5bb660c62fa1503c47139c088 (patch) | |
tree | ab97540187b22d07a5df35a3b7da07b32dad52e6 /webui/src | |
parent | 98b6a63e343f2a6a1888f8373845b0b1bd3c89d4 (diff) | |
download | Git-Auto-Deploy-324c3518d4b98da5bb660c62fa1503c47139c088.zip Git-Auto-Deploy-324c3518d4b98da5bb660c62fa1503c47139c088.tar.gz Git-Auto-Deploy-324c3518d4b98da5bb660c62fa1503c47139c088.tar.bz2 |
Warning when running as root. Improved logging.
Diffstat (limited to 'webui/src')
-rw-r--r-- | webui/src/Event.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webui/src/Event.js b/webui/src/Event.js index 6a1a5bc..e5c8394 100644 --- a/webui/src/Event.js +++ b/webui/src/Event.js @@ -33,6 +33,9 @@ class Event { if(this.event.type === "WebhookAction") return "Webhook"; + if(this.event.type === "DeployEvent") + return "Deploy"; + return this.event.type; } @@ -52,6 +55,9 @@ class Event { return "Incoming request from " + this.event['client-address']; } + if(this.event.type === "DeployEvent") + return this.event.name; + return this.event.type; } |