Skip to content

Commit 8b9d647

Browse files
davimacedodouglasmuraoka
authored andcommitted
Fix CLP dialog for pointer fields (#1283)
1 parent 0b014fd commit 8b9d647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ let BrowserToolbar = ({
148148
const classSchema = schema.data.get('classes').get(classNameForEditors);
149149
if (classSchema) {
150150
classSchema.forEach(({ type, targetClass }, col) => {
151-
if (name === 'objectId' || isUnique && name !== uniqueField) {
151+
if (col === 'objectId' || isUnique && col !== uniqueField) {
152152
return;
153153
}
154154
if (targetClass === '_User') {
155-
userPointers.push(name);
155+
userPointers.push(col);
156156
}
157157
schemaSimplifiedData[col] = {
158158
type,

0 commit comments

Comments
 (0)