mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-22 16:18:10 +00:00
fixes regression with dataset-author name field
This commit is contained in:
parent
0643e4448a
commit
ae9162aa86
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user