fixes regression with dataset-author name field

This commit is contained in:
Seyi Adebajo 2017-04-07 01:14:17 -07:00 committed by Mars Lan
parent 0643e4448a
commit ae9162aa86

View File

@ -193,7 +193,7 @@ export default Component.extend({
// Add the className cached in `userNameEditableClass`. This renders // Add the className cached in `userNameEditableClass`. This renders
// the input element in the DOM, and removes the label from layout // the input element in the DOM, and removes the label from layout
if ( if (
source && !source.includes('SCM') && typeof classList.add === 'function' !String(source).includes('SCM') && typeof classList.add === 'function'
) { ) {
classList.add(userNameEditableClass); classList.add(userNameEditableClass);
} }