]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/accounts.component.ts
Move user moderation tool in a separate component
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts.component.ts
index 2a6856c10fbad8dd03c4df5f4be6c2db188d31b5..af0451e910099d3627c22b9329bc24bf1042f953 100644 (file)
@@ -1,4 +1,4 @@
-import { Component, OnInit } from '@angular/core'
+import { Component, OnInit, OnDestroy } from '@angular/core'
 import { ActivatedRoute } from '@angular/router'
 import { AccountService } from '@app/shared/account/account.service'
 import { Account } from '@app/shared/account/account.model'
@@ -10,7 +10,7 @@ import { Subscription } from 'rxjs'
   templateUrl: './accounts.component.html',
   styleUrls: [ './accounts.component.scss' ]
 })
-export class AccountsComponent implements OnInit {
+export class AccountsComponent implements OnInit, OnDestroy {
   account: Account
 
   private routeSub: Subscription