diff options
Diffstat (limited to 'catalog-ui')
-rw-r--r-- | catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html b/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html index f36b1cfe8f..6bdaffee55 100644 --- a/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html +++ b/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html @@ -594,7 +594,7 @@ <select class="i-sdc-form-select" name="baseType" data-ng-class="{'view-mode': isViewMode()}" - data-ng-disabled="component.isCsarComponent() || !isCreateMode()" + data-ng-disabled="component.isCsarComponent() || !(isEditMode() || isCreateMode())" data-ng-model="component.derivedFromGenericType" data-ng-change="onBaseTypeChange()" data-tests-id="selectBaseType" @@ -609,7 +609,7 @@ <select class="i-sdc-form-select" name="baseTypeVersion" data-ng-class="{'view-mode': isViewMode()}" - data-ng-disabled="component.isCsarComponent() || !isCreateMode()" + data-ng-disabled="component.isCsarComponent() || !(isEditMode() || isCreateMode())" data-ng-model="component.derivedFromGenericVersion" data-tests-id="selectBaseTypeVersion"> <option ng-repeat="version in baseTypeVersions">{{version}}</option> |