change block data to json

This commit is contained in:
fbruc03
2022-11-09 11:20:15 +01:00
parent a8704316ac
commit 9ac98aa06d
4 changed files with 21 additions and 22 deletions
+2 -3
View File
@@ -57,7 +57,6 @@ class TooltipViewer extends Component {
<ReactMarkdown linkTarget="_blank">
{this.props.tooltip}
</ReactMarkdown>
{store.getState().workspace.code.data ? (
<Button
label="Mehr"
@@ -74,7 +73,7 @@ class TooltipViewer extends Component {
)}
</Typography>
</CardContent>
<Dialog
{store.getState().workspace.code.data ? (<Dialog
open={this.state.open}
TransitionComponent={Transition}
keepMounted
@@ -93,7 +92,7 @@ class TooltipViewer extends Component {
this.toggleDialog();
}}>Close</Button>
</DialogActions>
</Dialog>
</Dialog>) : (null)}
</Card>
);
}