mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-19 18:56:36 +00:00
Fix monaco editor not happy when parent is null
This commit is contained in:
parent
a1f9082415
commit
6f7b7220b4
@ -1804,7 +1804,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
||||
</div>
|
||||
</div>
|
||||
<div style={{ minWidth: "20%", width: "100%" }}>
|
||||
{selectedDocumentContent && selectedRows.size <= 1 && (
|
||||
{isTabActive && selectedDocumentContent && selectedRows.size <= 1 && (
|
||||
<EditorReact
|
||||
language={"json"}
|
||||
content={selectedDocumentContent}
|
||||
|
Loading…
x
Reference in New Issue
Block a user