aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src
diff options
context:
space:
mode:
authorkooper <sergey.sachkov@est.tech>2019-04-03 09:53:53 +0000
committerkooper <sergey.sachkov@est.tech>2019-04-03 09:53:53 +0000
commitc6f9f152bbed844843e4f2a137bcfa1b726dd81f (patch)
tree05169d2b06b83c3bf2bd1a626695691c4c75c84f /catalog-ui/src
parentb2f9dc5d3bc02564b4d952caa0bf2ccd20dfc6af (diff)
Ability to update PNF with new version of VSP
Change-Id: Ie08d905bd40761b23198ad806be1750291343aae Issue-ID: SDC-2219 Signed-off-by: kooper <sergey.sachkov@est.tech>
Diffstat (limited to 'catalog-ui/src')
-rw-r--r--catalog-ui/src/app/view-models/workspace/tabs/general/general-view-model.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/tabs/general/general-view-model.ts b/catalog-ui/src/app/view-models/workspace/tabs/general/general-view-model.ts
index 68f789808a..635fc54a27 100644
--- a/catalog-ui/src/app/view-models/workspace/tabs/general/general-view-model.ts
+++ b/catalog-ui/src/app/view-models/workspace/tabs/general/general-view-model.ts
@@ -258,7 +258,9 @@ export class GeneralViewModel {
// Init the decision if to show onboarding
if (this.$scope.component.isResource() && this.$scope.isEditMode() &&
- (<Resource>this.$scope.component).resourceType == ResourceType.VF && (<Resource>this.$scope.component).csarUUID) {
+ ((<Resource>this.$scope.component).resourceType == ResourceType.VF ||
+ (<Resource>this.$scope.component).resourceType == ResourceType.PNF)
+ && (<Resource>this.$scope.component).csarUUID) {
this.$scope.isShowOnboardingSelectionBrowse = true;
this.setImportedFileText();
} else {