diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-28 09:10:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-28 09:10:57 +0200 |
commit | d6d96bed80700830063c6055969d2d2ff46c63c6 (patch) | |
tree | d1fb4141ca788efaf2a54336e9a6a0df94c20ec6 /client/src/app | |
parent | 8f608a4cb22ab232cfab20665050764b38bac9c7 (diff) | |
parent | b55e7127d1eb6f167e45db2a1ad00197355d1d2f (diff) | |
download | PeerTube-d6d96bed80700830063c6055969d2d2ff46c63c6.tar.gz PeerTube-d6d96bed80700830063c6055969d2d2ff46c63c6.tar.zst PeerTube-d6d96bed80700830063c6055969d2d2ff46c63c6.zip |
Merge branch 'develop' into shorter-URLs-channels-accounts
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 { |