We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c2cb7 commit 68cec28Copy full SHA for 68cec28
app/javascript/components/vm-snapshot-tree-select/index.jsx
@@ -52,7 +52,7 @@ const VMSnapshotTreeSelect = ({
52
<div className="snapshot-tree-title">
53
{__('Available Snapshots')}
54
</div>
55
- {tree.nodes && tree.nodes.length > 1
+ {tree.tree_nodes[0] && tree.tree_nodes[0].nodes.length > 0
56
? <SnapshotTree nodes={tree.tree_nodes} setCurrentSnapshot={setCurrentSnapshot} />
57
: (
58
<div className="no-snapshots-message">
0 commit comments