You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cl...@apache.org on 2017/10/25 16:10:24 UTC
[whimsy] branch master updated: Handle email addresses without
names in grants and cclas
This is an automated email from the ASF dual-hosted git repository.
clr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 16f6ccb Handle email addresses without names in grants and cclas
16f6ccb is described below
commit 16f6ccbba6e74eedcc5bec609aacdb8bf7100779
Author: Craig L Russell <cr...@oracle.com>
AuthorDate: Wed Oct 25 09:10:26 2017 -0700
Handle email addresses without names in grants and cclas
---
www/secretary/workbench/views/forms/ccla.js.rb | 2 +-
www/secretary/workbench/views/forms/grant.js.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/secretary/workbench/views/forms/ccla.js.rb b/www/secretary/workbench/views/forms/ccla.js.rb
index ab2a51e..67c4326 100644
--- a/www/secretary/workbench/views/forms/ccla.js.rb
+++ b/www/secretary/workbench/views/forms/ccla.js.rb
@@ -86,7 +86,7 @@ class CCLA < Vue
# on initial display, default various fields based on headers, and update
# state
def mounted()
- name = @@headers.name
+ name = @@headers.name || ''
# reorder name if there is a single comma present
parts = name.split(',')
diff --git a/www/secretary/workbench/views/forms/grant.js.rb b/www/secretary/workbench/views/forms/grant.js.rb
index 77d1b67..3da0542 100644
--- a/www/secretary/workbench/views/forms/grant.js.rb
+++ b/www/secretary/workbench/views/forms/grant.js.rb
@@ -76,7 +76,7 @@ class Grant < Vue
# on initial display, default various fields based on headers, and update
# state
def mounted()
- name = @@headers.name
+ name = @@headers.name || ''
# reorder name if there is a single comma present
parts = name.split(',')
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].