]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+about/about-routing.module.ts
Fix default privacy when plugins deleted private
[github/Chocobozzz/PeerTube.git] / client / src / app / +about / about-routing.module.ts
index c810ca27264d81ac79522f1460c222835fdf0cfa..3974231e338e3da190d4c911c567810f0cd3f32c 100644 (file)
@@ -27,13 +27,20 @@ const aboutRoutes: Routes = [
         },
         resolve: {
           instanceData: AboutInstanceResolver
+        }
+      },
+      {
+        path: 'contact',
+        component: AboutInstanceComponent,
+        data: {
+          meta: {
+            title: $localize`Contact`
+          },
+          isContact: true
         },
-        children: [
-          {
-            path: 'contact',
-            component: ContactAdminModalComponent
-          }
-        ]
+        resolve: {
+          instanceData: AboutInstanceResolver
+        }
       },
       {
         path: 'peertube',