fix null error in JKProfilePerformanceSamples component
This commit is contained in:
parent
9e718cccdc
commit
1717fc1a15
Binary file not shown.
|
Before Width: | Height: | Size: 253 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 202 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -8,11 +8,11 @@ const JKProfilePerformanceSamples = ({samples}) => {
|
|||
YOUTUBE: { description: 'youtube' }
|
||||
};
|
||||
|
||||
const jamkasamSamples = samples.filter(sample => sample.service_type === SAMPLE_TYPES.JAMKAZAM.description);
|
||||
const jamkasamSamples = samples.filter(sample => sample.claimed_recording && sample.service_type === SAMPLE_TYPES.JAMKAZAM.description);
|
||||
|
||||
const soundCloudSamples = samples.filter(sample => sample.service_type === SAMPLE_TYPES.SOUNDCLOUD.description);
|
||||
const soundCloudSamples = samples.filter(sample => sample.claimed_recording && sample.service_type === SAMPLE_TYPES.SOUNDCLOUD.description);
|
||||
|
||||
const youTubeSamples = samples.filter(sample => sample.service_type === SAMPLE_TYPES.YOUTUBE.description);
|
||||
const youTubeSamples = samples.filter(sample => sample.claimed_recording && sample.service_type === SAMPLE_TYPES.YOUTUBE.description);
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue