Skip to content

Commit

Permalink
fix new class not loading without reload
Browse files Browse the repository at this point in the history
  • Loading branch information
vardhan0604 committed Jul 3, 2024
1 parent b6b3e72 commit 6411715
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/dashboard/Data/Browser/DataBrowser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,9 @@ export default class DataBrowser extends React.Component {
}, 1000);
}

getAllClassesSchema(schema,allClasses) {

getAllClassesSchema(schema) {
const allClasses = Object.keys(schema.data.get('classes').toObject());
const schemaSimplifiedData = {};
if(!allClasses){
allClasses = Object.keys(schema.data.get('classes').toObject());
}
allClasses.forEach((className) => {
const classSchema = schema.data.get('classes').get(className);
if (classSchema) {
Expand Down

0 comments on commit 6411715

Please sign in to comment.