File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import Toolbar from 'components/Toolbar/Toolbar.react';
20
20
21
21
let BrowserToolbar = ( {
22
22
className,
23
- classNameForPermissionsEditor ,
23
+ classNameForEditors ,
24
24
count,
25
25
perms,
26
26
schema,
@@ -145,7 +145,7 @@ let BrowserToolbar = ({
145
145
146
146
const userPointers = [ ] ;
147
147
const schemaSimplifiedData = { } ;
148
- const classSchema = schema . data . get ( 'classes' ) . get ( className ) ;
148
+ const classSchema = schema . data . get ( 'classes' ) . get ( classNameForEditors ) ;
149
149
if ( classSchema ) {
150
150
classSchema . forEach ( ( { type, targetClass } , col ) => {
151
151
if ( name === 'objectId' || isUnique && name !== uniqueField ) {
@@ -189,13 +189,13 @@ let BrowserToolbar = ({
189
189
schema = { schemaSimplifiedData }
190
190
filters = { filters }
191
191
onChange = { onFilterChange }
192
- className = { className } />
192
+ className = { classNameForEditors } />
193
193
< div className = { styles . toolbarSeparator } />
194
194
{ enableSecurityDialog ? < SecurityDialog
195
195
setCurrent = { setCurrent }
196
196
disabled = { ! ! relation || ! ! isUnique }
197
197
perms = { perms }
198
- className = { classNameForPermissionsEditor }
198
+ className = { classNameForEditors }
199
199
onChangeCLP = { onChangeCLP }
200
200
userPointers = { userPointers } /> : < noscript /> }
201
201
{ enableSecurityDialog ? < div className = { styles . toolbarSeparator } /> : < noscript /> }
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export default class DataBrowser extends React.Component {
235
235
count = { count }
236
236
hidePerms = { className === '_Installation' }
237
237
className = { SpecialClasses [ className ] || className }
238
- classNameForPermissionsEditor = { className }
238
+ classNameForEditors = { className }
239
239
setCurrent = { this . setCurrent }
240
240
enableDeleteAllRows = { this . context . currentApp . serverInfo . features . schemas . clearAllDataFromClass && ! preventSchemaEdits }
241
241
enableExportClass = { this . context . currentApp . serverInfo . features . schemas . exportClass && ! preventSchemaEdits }
You can’t perform that action at this time.
0 commit comments