mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-21 03:36:18 +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>
|
</div>
|
||||||
<div style={{ minWidth: "20%", width: "100%" }}>
|
<div style={{ minWidth: "20%", width: "100%" }}>
|
||||||
{selectedDocumentContent && selectedRows.size <= 1 && (
|
{isTabActive && selectedDocumentContent && selectedRows.size <= 1 && (
|
||||||
<EditorReact
|
<EditorReact
|
||||||
language={"json"}
|
language={"json"}
|
||||||
content={selectedDocumentContent}
|
content={selectedDocumentContent}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user