fix(face-landmarks): assign empty array to facelandmarks in speakerstats if undefined
This commit is contained in:
parent
3cbf160f2b
commit
2556a7ab77
|
@ -30,7 +30,8 @@ const abstractSpeakerStatsList = (speakerStatsItem: Function): Function[] => {
|
|||
(state: IReduxState) => state['features/base/config']) || {};
|
||||
const { faceLandmarks: faceLandmarksConfig } = useSelector((state: IReduxState) =>
|
||||
state['features/base/config']) || {};
|
||||
const { faceLandmarks } = useSelector((state: IReduxState) => state['features/face-landmarks']) || {};
|
||||
const { faceLandmarks } = useSelector((state: IReduxState) => state['features/face-landmarks'])
|
||||
|| { faceLandmarks: [] };
|
||||
const reloadInterval = useRef<number>();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue