Database plugin - Render blob cells
Summary: As titled. The android plugin was already sending the data in blob cells as `{ type: 'blob' value: string }` (see com/facebook/flipper/plugins/databases/ObjectMapper.java?lines=213-216).
Reviewed By: jknoxville
Differential Revision: D21253129
fbshipit-source-id: 15a44c72f4030887a50faece780c89aa65f6a45b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
168d06011f
commit
3e0f07ac97
@@ -14,7 +14,7 @@ import React from 'react';
|
|||||||
|
|
||||||
export type Value =
|
export type Value =
|
||||||
| {
|
| {
|
||||||
type: 'string';
|
type: 'string' | 'blob';
|
||||||
value: string;
|
value: string;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
@@ -59,6 +59,7 @@ export function renderValue(val: Value) {
|
|||||||
{val.value.toString()}
|
{val.value.toString()}
|
||||||
</BooleanValue>
|
</BooleanValue>
|
||||||
);
|
);
|
||||||
|
case 'blob':
|
||||||
case 'string':
|
case 'string':
|
||||||
return <NonWrappingText>{val.value}</NonWrappingText>;
|
return <NonWrappingText>{val.value}</NonWrappingText>;
|
||||||
case 'integer':
|
case 'integer':
|
||||||
|
|||||||
Reference in New Issue
Block a user