Skip to content

Commit 91ed276

Browse files
allow arrays, deny relation as userFields
1 parent b6b677e commit 91ed276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ let BrowserToolbar = ({
156156
if (col === 'objectId' || isUnique && col !== uniqueField) {
157157
return;
158158
}
159-
if (targetClass === '_User') {
159+
if ((type !=='Relation' && targetClass === '_User') || type === 'Array' ) {
160160
userPointers.push(col);
161161
}
162162
});

0 commit comments

Comments
 (0)