Skip to content

Commit b92c665

Browse files
W0lfw00ddavimacedo
authored andcommitted
This should resolve #1297. The objectId was missing from the filter list. (#1315)
It was not include because of fix #1283 about am issue with the userPointers. That should now still be in place since, but I don't 100% understand that issue.
1 parent 8eaa8a8 commit b92c665

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,17 @@ let BrowserToolbar = ({
148148
const classSchema = schema.data.get('classes').get(classNameForEditors);
149149
if (classSchema) {
150150
classSchema.forEach(({ type, targetClass }, col) => {
151+
schemaSimplifiedData[col] = {
152+
type,
153+
targetClass,
154+
};
155+
151156
if (col === 'objectId' || isUnique && col !== uniqueField) {
152157
return;
153158
}
154159
if (targetClass === '_User') {
155160
userPointers.push(col);
156161
}
157-
schemaSimplifiedData[col] = {
158-
type,
159-
targetClass,
160-
};
161162
});
162163
}
163164

0 commit comments

Comments
 (0)