X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Baccounts%2Faccounts.component.ts;h=af0451e910099d3627c22b9329bc24bf1042f953;hb=9a0fc8409c7a783348ec212fa9f38d0a98413467;hp=2a6856c10fbad8dd03c4df5f4be6c2db188d31b5;hpb=734a5ceb3d04088743d72babcb9b05e6142043f6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts index 2a6856c10..af0451e91 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts @@ -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