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); }