X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FlaunchNetworkServiceSource.js;h=5bd34434d045d7cbd0e6bc8d216717bfa0b3d3fe;hp=3a8886cef4ddc1f32a447a5b86018a715379c36b;hb=a5a2c047b034a3616415854d58d25be19a43bd58;hpb=a6bd6f8c6d9c17c647b1c9f6e04b51676d14b53a diff --git a/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js b/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js index 3a8886cef..5bd34434d 100644 --- a/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js +++ b/skyquake/plugins/launchpad/src/instantiate/launchNetworkServiceSource.js @@ -200,7 +200,13 @@ export default function(Alt){ beforeSend: Utils.addAuthorizationStub, contentType: "application/json", success: function(data) { - resolve(data["rw-launchpad:resource-orchestrator"]); + let returnedData; + if (data.hasOwnProperty("rw-launchpad:resource-orchestrator")) { + returnedData = data; + } else { + returnedData = {}; + } + resolve(returnedData); }, error: function(error) { console.log("There was an error updating the account: ", arguments);