diff options
author | Idan Amit <ia096e@intl.att.com> | 2018-03-21 12:04:57 +0200 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-03-27 15:04:23 +0000 |
commit | 7363f3d875e08d5195cb5e8b7e4f9ac86ec99ef5 (patch) | |
tree | c49f7d31d5b694330b47247f30d9e7a5d6f602ea /catalog-ui/src/app/app.ts | |
parent | fb81a037f9f81be9bdb4b13032a9415654d6d2cc (diff) |
Create Error page for offline plugin
Created an error page to be displayed when a plugin is offline
Change-Id: I7bff7d29896e5eae88eca79784854bcd1086ca50
Issue-ID: SDC-1082
Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/app.ts')
-rw-r--r-- | catalog-ui/src/app/app.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/catalog-ui/src/app/app.ts b/catalog-ui/src/app/app.ts index 24665cccbc..48f15c057d 100644 --- a/catalog-ui/src/app/app.ts +++ b/catalog-ui/src/app/app.ts @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -58,7 +58,6 @@ import {ComponentServiceNg2} from "./ng2/services/component-services/component.s import {ComponentMetadata} from "./models/component-metadata"; import {Categories} from "./models/categories"; import {IUserProperties} from "./models/user"; -import {PluginFrameComponent} from "./ng2/components/ui/plugin/plugin-frame.component"; let moduleName:string = 'sdcApp'; let viewModelsModuleName:string = 'Sdc.ViewModels'; @@ -145,7 +144,6 @@ _.each(hostedApplications, (hostedApp)=> { // ===================== Hosted applications section ==================== export const ng1appModule:ng.IModule = angular.module(moduleName, dependentModules); -angular.module('sdcApp').directive('pluginFrame', downgradeComponent( {component: PluginFrameComponent, inputs: ['plugin', 'queryParams'], outputs: ['onLoadingDone']} ) as angular.IDirectiveFactory); ng1appModule.config([ '$stateProvider', |