X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FinstantiateSelectDescriptorPanel.jsx;h=760fc5264c17affd38aa64e537a0757a41c83c9c;hp=a8d4b67dc03c5e7e7cb37eac40d2721a893a8000;hb=28412d0042632687d765d239cbb3ff0523a131b9;hpb=f2dc2462571800e62cba969964de621dca09299c diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateSelectDescriptorPanel.jsx b/skyquake/plugins/launchpad/src/instantiate/instantiateSelectDescriptorPanel.jsx index a8d4b67dc..760fc5264 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateSelectDescriptorPanel.jsx +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateSelectDescriptorPanel.jsx @@ -1,5 +1,5 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,21 +29,23 @@ export default class InstantiateSelectDescriptorPanel extends Component { return ( { - catalog.descriptors && catalog.descriptors.map(function(descriptor, i) { - let isSelected = (descriptor.id === selectedDescriptorID); - return ( - - ) - }) + catalog.descriptors && (catalog.descriptors.length > 0) ? + catalog.descriptors.map(function(descriptor, i) { + let isSelected = (descriptor.id === selectedDescriptorID); + return ( + + ) + }) + :

No Descriptors Onboarded

}
)