diff options
Diffstat (limited to 'client/src/app')
3 files changed, 5 insertions, 4 deletions
diff --git a/client/src/app/+home/home-routing.module.ts b/client/src/app/+home/home-routing.module.ts index 1eaee4449..a2085f191 100644 --- a/client/src/app/+home/home-routing.module.ts +++ b/client/src/app/+home/home-routing.module.ts | |||
@@ -1,13 +1,11 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | import { MetaGuard } from '@ngx-meta/core' | ||
4 | import { HomeComponent } from './home.component' | 3 | import { HomeComponent } from './home.component' |
5 | 4 | ||
6 | const homeRoutes: Routes = [ | 5 | const homeRoutes: Routes = [ |
7 | { | 6 | { |
8 | path: '', | 7 | path: '', |
9 | component: HomeComponent, | 8 | component: HomeComponent |
10 | canActivateChild: [ MetaGuard ] | ||
11 | } | 9 | } |
12 | ] | 10 | ] |
13 | 11 | ||
diff --git a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss new file mode 100644 index 000000000..4e37c5e61 --- /dev/null +++ b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss | |||
@@ -0,0 +1,3 @@ | |||
1 | div { | ||
2 | height: 100%; | ||
3 | } | ||
diff --git a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts index 4d5381e8d..858eff9ba 100644 --- a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts +++ b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts | |||
@@ -4,7 +4,7 @@ import { PluginElementPlaceholder } from '@shared/models' | |||
4 | @Component({ | 4 | @Component({ |
5 | selector: 'my-plugin-placeholder', | 5 | selector: 'my-plugin-placeholder', |
6 | template: '<div [id]="getId()"></div>', | 6 | template: '<div [id]="getId()"></div>', |
7 | styles: [ 'div { height: 100%; }' ] | 7 | styleUrls: [ './plugin-placeholder.component.scss' ] |
8 | }) | 8 | }) |
9 | 9 | ||
10 | export class PluginPlaceholderComponent { | 10 | export class PluginPlaceholderComponent { |