mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 01:07:42 -05:00
crash less?
This commit is contained in:
@@ -168,7 +168,7 @@ useEffect(() => {
|
||||
}, [selectCallId])
|
||||
|
||||
useEffect(() => {
|
||||
if (system.status && system.status.length > 0) {
|
||||
if (system && system.status && system.status.length > 0) {
|
||||
setStatusVisible(true);
|
||||
}
|
||||
}, [system])
|
||||
|
||||
Reference in New Issue
Block a user