]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+page-not-found/page-not-found.component.ts
Inject server config in HTML
[github/Chocobozzz/PeerTube.git] / client / src / app / +page-not-found / page-not-found.component.ts
index 9302201ea477fdee75131384c7866a889e77b835..94b4c8d27f5d4763cba5c2efb28323ad11ea4ff7 100644 (file)
@@ -32,15 +32,6 @@ export class PageNotFoundComponent implements OnInit {
     return window.location.pathname
   }
 
-  getRessourceName () {
-    switch (this.type) {
-      case 'video':
-        return $localize`video`
-      default:
-        return $localize`ressource`
-    }
-  }
-
   getMascotName () {
     switch (this.status) {
       case HttpStatusCode.I_AM_A_TEAPOT_418: