From ae9162aa86499c6250cd368424b2451434a7dc2c Mon Sep 17 00:00:00 2001 From: Seyi Adebajo Date: Fri, 7 Apr 2017 01:14:17 -0700 Subject: [PATCH] fixes regression with dataset-author name field --- wherehows-web/app/components/dataset-author.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wherehows-web/app/components/dataset-author.js b/wherehows-web/app/components/dataset-author.js index 705758909e..42e025d887 100644 --- a/wherehows-web/app/components/dataset-author.js +++ b/wherehows-web/app/components/dataset-author.js @@ -193,7 +193,7 @@ export default Component.extend({ // Add the className cached in `userNameEditableClass`. This renders // the input element in the DOM, and removes the label from layout if ( - source && !source.includes('SCM') && typeof classList.add === 'function' + !String(source).includes('SCM') && typeof classList.add === 'function' ) { classList.add(userNameEditableClass); }