fix: physical node page display error
Fix display error when node information cannot be obtained Change-Id: Ife201c5f04766f1a304b1bb1b562e643ad5ed0cb
This commit is contained in:
parent
8613ef39f3
commit
46f3668f8e
@ -14,6 +14,9 @@ const useNodeSelect = (defaultNode) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const Nodes = () => {
|
const Nodes = () => {
|
||||||
|
if (!nodes.length) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
const key = getKey();
|
const key = getKey();
|
||||||
return (
|
return (
|
||||||
<div style={{ marginBottom: 16 }}>
|
<div style={{ marginBottom: 16 }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user