Skip to content

Commit

Permalink
ISSUE-607: Schema Registry UI hangs occasionally on first use (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
joylyn authored and guruchai committed Oct 11, 2019
1 parent 9da8a4e commit 2af3a91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default class SchemaDetail extends Component{
const s = schema;
const {name, evolve} = s.schemaMetadata;
const currentBranchName = selectedBranch ? selectedBranch.schemaBranch.name : "MASTER";
const enabledStateId = StateMachine.getStateByName('Enabled').id;
const enabledStateId = StateMachine.states ? StateMachine.getStateByName('Enabled').id : null;

const jsonoptions = {
lineNumbers: true,
Expand Down

0 comments on commit 2af3a91

Please # to comment.