mirror of
https://github.com/ritz078/transform.git
synced 2026-11-22 17:11:32 +03:00
1 parent
d1a9a9ae85
commit
b00a4d4148
10 files changed
+141
-47
No files matched your search
@@ -169,7 +169,9 @@ export default class ConversionPanel extends PureComponent {
|
||||
leftMode === "json"
|
||||
? JSON.stringify(eval("(" + nValue + ")", null, 2))
|
||||
: nValue;
|
||||
let code = await this.props.getTransformedValue(json, splitValue);
|
||||
let code = IN_BROWSER
|
||||
? await this.props.getTransformedValue(json, splitValue)
|
||||
: "";
|
||||
code = code.prettyCode || code;
|
||||
|
||||
this.setState({
|
||||
|
||||
Reference in new issue
Block a user