Handle the Logs when it is undefined
Summary: As per the title Reviewed By: danielbuechele Differential Revision: D14131195 fbshipit-source-id: 3b053c04e27de9faa8b8395bf4b0f6fe3d7c58dc
This commit is contained in:
committed by
Facebook Github Bot
parent
6bdbb4f763
commit
92cc78c41d
@@ -224,7 +224,7 @@ export const importFileToStore = (file: string, store: Store) => {
|
||||
deviceType,
|
||||
title,
|
||||
os,
|
||||
logs,
|
||||
logs ? logs : [],
|
||||
);
|
||||
const devices = store.getState().connections.devices;
|
||||
const matchedDevices = devices.filter(
|
||||
|
||||
Reference in New Issue
Block a user