diff options
Diffstat (limited to 'catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts')
-rw-r--r-- | catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts b/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts index 456c66a710..f8fa6dd359 100644 --- a/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts +++ b/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts @@ -48,6 +48,7 @@ export interface ITypeMapScope extends ng.IScope { showAddBtn: boolean; showToscaFunction: boolean[]; types: DataTypesMap; + isService: boolean; getValidationPattern(type: string): RegExp; validateIntRange(value: string): boolean; @@ -75,7 +76,8 @@ export class TypeMapDirective implements ng.IDirective { constraints: '=', showAddBtn: '=?', parentProperty: '=', - types: '=' + types: '=', + isService: '=' }; restrict = 'E'; |