Fixed 'Unknown sdkid' error in dashboard 97/16897/1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 3 Oct 2018 09:46:00 +0000 (11:46 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 3 Oct 2018 09:53:51 +0000 (11:53 +0200)
commit319bdec474f655f415609c76a8e3b50b1d0b9aa4
tree56b2d795b58c79bd9719d593e40ea73ceb7afa08
parent635a25c98bb606d987fcd55cf697ea9f4a0b38b2
Fixed 'Unknown sdkid' error in dashboard

Steps to reproduce problem:
 - open XDS dashboard,
 - display SDKs page list (click on SDKs in the left panel)
 - display Build page (click on Build in the left panel)
 - keep selected Project and SDK and just click on Build button
 - error 'Unknown sdkid' must be displayed

Problem partially comes from the fact that default/current sdk in
sdk.service is the first sdk and not the first Installed sdk.

Change-Id: I21b9310e8ad67ff71afb5b704b39f5f98bc8707b
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
webapp/src/app/@core-xds/services/sdk.service.ts
webapp/src/app/pages/build/settings/sdk-select-dropdown.component.ts