diff options
author | franciscovila <javier.paradela.vila@est.tech> | 2023-01-27 11:51:47 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-01-27 16:24:04 +0000 |
commit | e3a17890903ee443d0b5d0ee872e316e4369318d (patch) | |
tree | dac7db5e9ce634944f9fcb98846618735e098fd2 /catalog-ui | |
parent | a522b7eb8346617883227c0a6621420cfdf44dc5 (diff) |
Error importing data type in the UI
Fix error importing a file with 'tosca_definitions_version' tag
Issue-ID: SDC-4351
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I61f6dba8c15dd73de99cbf2cfb857e271f37665d
Diffstat (limited to 'catalog-ui')
-rw-r--r-- | catalog-ui/src/app/utils/service-data-type-reader.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/utils/service-data-type-reader.ts b/catalog-ui/src/app/utils/service-data-type-reader.ts index fd5ee2fc19..99b3d3ae63 100644 --- a/catalog-ui/src/app/utils/service-data-type-reader.ts +++ b/catalog-ui/src/app/utils/service-data-type-reader.ts @@ -34,7 +34,7 @@ export class ServiceDataTypeReader { const result = <String>reader.result; const loadedContent = load(result); console.log("Readed content: " + loadedContent); - this.readName(loadedContent); + this.readName(this.getDataType(loadedContent)); this.readDerivedFrom(this.getDataType(loadedContent)); this.readDescription(this.getDataType(loadedContent)); this.readProperties(this.getDataType(loadedContent)); |