aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-28 09:10:57 +0200
committerChocobozzz <me@florianbigard.com>2021-05-28 09:10:57 +0200
commitd6d96bed80700830063c6055969d2d2ff46c63c6 (patch)
treed1fb4141ca788efaf2a54336e9a6a0df94c20ec6 /client/src/app
parent8f608a4cb22ab232cfab20665050764b38bac9c7 (diff)
parentb55e7127d1eb6f167e45db2a1ad00197355d1d2f (diff)
downloadPeerTube-d6d96bed80700830063c6055969d2d2ff46c63c6.tar.gz
PeerTube-d6d96bed80700830063c6055969d2d2ff46c63c6.tar.zst
PeerTube-d6d96bed80700830063c6055969d2d2ff46c63c6.zip
Merge branch 'develop' into shorter-URLs-channels-accounts
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+home/home-routing.module.ts4
-rw-r--r--client/src/app/shared/shared-main/plugins/plugin-placeholder.component.scss3
-rw-r--r--client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts2
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 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3import { MetaGuard } from '@ngx-meta/core'
4import { HomeComponent } from './home.component' 3import { HomeComponent } from './home.component'
5 4
6const homeRoutes: Routes = [ 5const 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 @@
1div {
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
10export class PluginPlaceholderComponent { 10export class PluginPlaceholderComponent {