From 701e441228724c5b701d94cc3f1e520ce656398a Mon Sep 17 00:00:00 2001 From: franciscovila Date: Thu, 24 Nov 2022 10:29:04 +0000 Subject: Import data type in UI Develop all necessary changes in the UI to allow importing a data type from a yaml file Issue-ID: SDC-4279 Signed-off-by: franciscovila Change-Id: Id413386fad8b362e8c4a1d25c859a22178189074 --- catalog-ui/src/app/view-models/workspace/workspace-view-model.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/app/view-models') diff --git a/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts b/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts index 0778b2d803..accc0437fb 100644 --- a/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts +++ b/catalog-ui/src/app/view-models/workspace/workspace-view-model.ts @@ -23,7 +23,7 @@ */ 'use strict'; import * as _ from 'lodash'; -import {Component, IAppMenu, IUserProperties, Plugin, PluginsConfiguration, Resource, Service} from 'app/models'; +import {Component, DataTypeModel, IAppMenu, IUserProperties, Plugin, PluginsConfiguration, Resource, Service} from 'app/models'; import { CHANGE_COMPONENT_CSAR_VERSION_FLAG, ChangeLifecycleStateHandler, @@ -57,6 +57,7 @@ export interface IWorkspaceViewModelScope extends ng.IScope { isLoading: boolean; isCreateProgress: boolean; component: Component; + dataType: DataTypeModel; originComponent: Component; componentType: string; importFile: any; -- cgit 1.2.3-korg