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';
2020
2121let BrowserToolbar = ( {
2222 className,
23- classNameForPermissionsEditor ,
23+ classNameForEditors ,
2424 count,
2525 perms,
2626 schema,
@@ -145,7 +145,7 @@ let BrowserToolbar = ({
145145
146146 const userPointers = [ ] ;
147147 const schemaSimplifiedData = { } ;
148- const classSchema = schema . data . get ( 'classes' ) . get ( className ) ;
148+ const classSchema = schema . data . get ( 'classes' ) . get ( classNameForEditors ) ;
149149 if ( classSchema ) {
150150 classSchema . forEach ( ( { type, targetClass } , col ) => {
151151 if ( name === 'objectId' || isUnique && name !== uniqueField ) {
@@ -189,13 +189,13 @@ let BrowserToolbar = ({
189189 schema = { schemaSimplifiedData }
190190 filters = { filters }
191191 onChange = { onFilterChange }
192- className = { className } />
192+ className = { classNameForEditors } />
193193 < div className = { styles . toolbarSeparator } />
194194 { enableSecurityDialog ? < SecurityDialog
195195 setCurrent = { setCurrent }
196196 disabled = { ! ! relation || ! ! isUnique }
197197 perms = { perms }
198- className = { classNameForPermissionsEditor }
198+ className = { classNameForEditors }
199199 onChangeCLP = { onChangeCLP }
200200 userPointers = { userPointers } /> : < noscript /> }
201201 { 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 {
235235 count = { count }
236236 hidePerms = { className === '_Installation' }
237237 className = { SpecialClasses [ className ] || className }
238- classNameForPermissionsEditor = { className }
238+ classNameForEditors = { className }
239239 setCurrent = { this . setCurrent }
240240 enableDeleteAllRows = { this . context . currentApp . serverInfo . features . schemas . clearAllDataFromClass && ! preventSchemaEdits }
241241 enableExportClass = { this . context . currentApp . serverInfo . features . schemas . exportClass && ! preventSchemaEdits }
You can’t perform that action at this time.
0 commit comments