diff options
author | franciscovila <javier.paradela.vila@est.tech> | 2022-11-24 10:29:04 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-01-26 23:32:10 +0000 |
commit | 701e441228724c5b701d94cc3f1e520ce656398a (patch) | |
tree | 5900482086d86f8b8e465e6d4b57db4bd7a94184 /catalog-ui/src/app/app.ts | |
parent | 1bbecd7edbdd907a53812d303d378236d23d071e (diff) |
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 <javier.paradela.vila@est.tech>
Change-Id: Id413386fad8b362e8c4a1d25c859a22178189074
Diffstat (limited to 'catalog-ui/src/app/app.ts')
-rw-r--r-- | catalog-ui/src/app/app.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/catalog-ui/src/app/app.ts b/catalog-ui/src/app/app.ts index 76c1d28489..296b63bca7 100644 --- a/catalog-ui/src/app/app.ts +++ b/catalog-ui/src/app/app.ts @@ -38,6 +38,7 @@ import {ComponentFactory} from "./utils/component-factory"; import {Component} from "./models/components/component"; import {IUserProperties} from "./models/user"; import {WorkspaceService} from "./ng2/pages/workspace/workspace.service"; +import {TypeWorkspaceGeneralComponent} from "./ng2/pages/type-workspace/type-workspace-general/type-workspace-general.component"; let moduleName: string = 'sdcApp'; let viewModelsModuleName: string = 'Sdc.ViewModels'; @@ -213,8 +214,11 @@ ng1appModule.config([ $stateProvider.state( States.TYPE_WORKSPACE, { url: '/:previousState/type-workspace/:type/:id/:subPage', - template: '<app-type-workspace></app-type-workspace>', - } + params: { + 'importedFile': null + }, + template: '<app-type-workspace></app-type-workspace>' + } ); $stateProvider.state( |