Skip to content

Commit 079f43f

Browse files
committed
removing username while cloning User obj
1 parent be85c8e commit 079f43f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ class Browser extends DashboardView {
10131013
for (const object of objects) {
10141014
let clonedObj = object.clone();
10151015
if (className === '_User') {
1016-
clonedObj.set('username', '');
1016+
clonedObj.set('username', undefined);
10171017
clonedObj.set('authData', undefined);
10181018
}
10191019
toClone.push(clonedObj);

0 commit comments

Comments
 (0)