Change Coldstart type to boolean

Summary: Updated the coldstart type to boolean, as number is not required, its a boolean value.

Differential Revision: D14260678

fbshipit-source-id: 236a38e04fd31cab4a561f5e0365bc43ad98adea
This commit is contained in:
Pritesh Nandgaonkar
2019-02-28 13:24:51 -08:00
committed by Facebook Github Bot
parent af317eed2b
commit be008fa18f
2 changed files with 3 additions and 3 deletions

View File

@@ -116,9 +116,9 @@ class EventDetails extends Component<{
<DataDescriptionKey>Requested on cold start</DataDescriptionKey> <DataDescriptionKey>Requested on cold start</DataDescriptionKey>
<span key="sep">: </span> <span key="sep">: </span>
<DataDescription <DataDescription
type="number" type="boolean"
value={event.coldStart} value={event.coldStart}
setValue={function(path: Array<string>, val: any) {}} setValue={null}
/> />
</p> </p>
{this.renderViewportData()} {this.renderViewportData()}

View File

@@ -58,7 +58,7 @@ export type ImageEvent = {
startTime: Timestamp, startTime: Timestamp,
endTime: Timestamp, endTime: Timestamp,
source: string, source: string,
coldStart: number, coldStart: boolean,
viewport?: ViewportData, // not set for prefetches viewport?: ViewportData, // not set for prefetches
}; };